Skip to content

Commit

Permalink
Fixing coding standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 29, 2010
1 parent 43c184b commit cc18c15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cake/libs/controller/components/acl.php
Expand Up @@ -622,7 +622,7 @@ public function check($aro, $aco, $aco_action = null) {
foreach ($userGroups as $group) {
if (array_key_exists($group, $aclConfig)) {
if (isset($aclConfig[$group]['deny'])) {
$groupDenies=$this->arrayTrim(explode(",", $aclConfig[$group]['deny']));
$groupDenies = $this->arrayTrim(explode(",", $aclConfig[$group]['deny']));

if (array_search($aco, $groupDenies)) {
return false;
Expand Down Expand Up @@ -669,13 +669,13 @@ public function readConfigFile($fileName) {
$value = substr($value, 1, -1);
}

$iniSetting[$sectionName][$key]=stripcslashes($value);
$iniSetting[$sectionName][$key] = stripcslashes($value);
} else {
if (!isset($sectionName)) {
$sectionName = '';
}

$iniSetting[$sectionName][strtolower(trim($dataLine))]='';
$iniSetting[$sectionName][strtolower(trim($dataLine))] = '';
}
}
}
Expand Down

0 comments on commit cc18c15

Please sign in to comment.