Fixing coding standards.

This commit is contained in:
mark_story 2010-11-28 00:40:41 -05:00 committed by Mark Story
parent 43c184b2d2
commit cc18c15e61

View file

@ -622,7 +622,7 @@ class IniAcl extends Object implements AclInterface {
foreach ($userGroups as $group) { foreach ($userGroups as $group) {
if (array_key_exists($group, $aclConfig)) { if (array_key_exists($group, $aclConfig)) {
if (isset($aclConfig[$group]['deny'])) { if (isset($aclConfig[$group]['deny'])) {
$groupDenies=$this->arrayTrim(explode(",", $aclConfig[$group]['deny'])); $groupDenies = $this->arrayTrim(explode(",", $aclConfig[$group]['deny']));
if (array_search($aco, $groupDenies)) { if (array_search($aco, $groupDenies)) {
return false; return false;
@ -669,13 +669,13 @@ class IniAcl extends Object implements AclInterface {
$value = substr($value, 1, -1); $value = substr($value, 1, -1);
} }
$iniSetting[$sectionName][$key]=stripcslashes($value); $iniSetting[$sectionName][$key] = stripcslashes($value);
} else { } else {
if (!isset($sectionName)) { if (!isset($sectionName)) {
$sectionName = ''; $sectionName = '';
} }
$iniSetting[$sectionName][strtolower(trim($dataLine))]=''; $iniSetting[$sectionName][strtolower(trim($dataLine))] = '';
} }
} }
} }