Index: trunk/phase3/includes/User.php |
— | — | @@ -2251,7 +2251,7 @@ |
2252 | 2252 | public function isAllowedAny( /*...*/ ){ |
2253 | 2253 | $permissions = func_get_args(); |
2254 | 2254 | foreach( $permissions as $permission ){ |
2255 | | - if( $this->isAllowedInternal( $permission ) ){ |
| 2255 | + if( $this->isAllowed( $permission ) ){ |
2256 | 2256 | return true; |
2257 | 2257 | } |
2258 | 2258 | } |
— | — | @@ -2265,7 +2265,7 @@ |
2266 | 2266 | public function isAllowedAll( /*...*/ ){ |
2267 | 2267 | $permissions = func_get_args(); |
2268 | 2268 | foreach( $permissions as $permission ){ |
2269 | | - if( !$this->isAllowedInternal( $permission ) ){ |
| 2269 | + if( !$this->isAllowed( $permission ) ){ |
2270 | 2270 | return false; |
2271 | 2271 | } |
2272 | 2272 | } |