@@ -65,8 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | public function get_effective_value(array $options, $object = null) |
67 | 67 | { |
68 | - if (!$object) |
|
69 | - { |
|
68 | + if (!$object) { |
|
70 | 69 | $defaults = midcom::get()->auth->acl->get_default_privileges(); |
71 | 70 | return $defaults[$options['privilege_name']] === MIDCOM_PRIVILEGE_ALLOW; |
72 | 71 | } |
@@ -99,8 +98,7 @@ discard block |
||
99 | 98 | |
100 | 99 | public function search_for_object($object) |
101 | 100 | { |
102 | - while (true) |
|
103 | - { |
|
101 | + while (true) { |
|
104 | 102 | if ($object instanceof dbacontainer) { |
105 | 103 | return $object->get_value(); |
106 | 104 | } |