Fix borked r84266.

This commit is contained in:
Happy-melon 2011-03-18 21:31:11 +00:00
parent ac5751ee48
commit 374d7e7278

View file

@ -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;
}
}