From: Happy-melon Date: Fri, 18 Mar 2011 21:31:11 +0000 (+0000) Subject: Fix borked r84266. X-Git-Tag: 1.31.0-rc.0~31340 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=374d7e72789c6f03bf87bfd80effbc5fe29d015d;p=lhc%2Fweb%2Fwiklou.git Fix borked r84266. --- diff --git a/includes/User.php b/includes/User.php index a0fce2c426..218355d4ab 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2251,7 +2251,7 @@ class User { public function isAllowedAny( /*...*/ ){ $permissions = func_get_args(); foreach( $permissions as $permission ){ - if( $this->isAllowedInternal( $permission ) ){ + if( $this->isAllowed( $permission ) ){ return true; } } @@ -2265,7 +2265,7 @@ class User { public function isAllowedAll( /*...*/ ){ $permissions = func_get_args(); foreach( $permissions as $permission ){ - if( !$this->isAllowedInternal( $permission ) ){ + if( !$this->isAllowed( $permission ) ){ return false; } }