From f6f7bf575a24ce1a61f5d0a10e73a2e9b9c7bfe5 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 9 Jun 2012 21:10:14 +0200 Subject: Formatting some code... --- ratatoeskr/sys/models.php | 8 ++++---- 1 file 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)) ) ); } -- cgit v1.2.3-54-g00ecf