aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-06-09 21:10:14 +0200
committerKevin Chabowski <kevin@kch42.de>2012-06-09 21:10:14 +0200
commitf6f7bf575a24ce1a61f5d0a10e73a2e9b9c7bfe5 (patch)
treefd00a6cfdae24e54c35f6060a2ab2ab4a0b959aa /ratatoeskr
parent6a12b5da5330a3cf1ea68c4c9683995098376467 (diff)
downloadratatoeskr-cms-f6f7bf575a24ce1a61f5d0a10e73a2e9b9c7bfe5.tar.gz
ratatoeskr-cms-f6f7bf575a24ce1a61f5d0a10e73a2e9b9c7bfe5.tar.bz2
ratatoeskr-cms-f6f7bf575a24ce1a61f5d0a10e73a2e9b9c7bfe5.zip
Formatting some code...
Diffstat (limited to 'ratatoeskr')
-rw-r--r--ratatoeskr/sys/models.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php
index 9df77cf..d1a737d 100644
--- a/ratatoeskr/sys/models.php
+++ b/ratatoeskr/sys/models.php
@@ -1554,14 +1554,14 @@ class ACL extends BySQLRowEnabled
$this->privileges[$privilege] = array(
"allowdeny" => (bool) $allowdeny,
"allow" => array(
- "all" => (bool) $allow_all,
+ "all" => (bool) $allow_all,
"groups" => array_filter(array_map(function($x) { return is_numeric($x) ? ((int) $x) : NULL; }, (array) $allow_groups)),
- "users" => array_filter(array_map(function($x) { return is_numeric($x) ? ((int) $x) : NULL; }, (array) $allow_users))
+ "users" => array_filter(array_map(function($x) { return is_numeric($x) ? ((int) $x) : NULL; }, (array) $allow_users))
),
"deny" => array(
- "all" => (bool) $deny_all,
+ "all" => (bool) $deny_all,
"groups" => array_filter(array_map(function($x) { return is_numeric($x) ? ((int) $x) : NULL; }, (array) $deny_groups)),
- "users" => array_filter(array_map(function($x) { return is_numeric($x) ? ((int) $x) : NULL; }, (array) $deny_users))
+ "users" => array_filter(array_map(function($x) { return is_numeric($x) ? ((int) $x) : NULL; }, (array) $deny_users))
)
);
}