X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FAutopromote.php;h=197ad9c957a428bf0dd3a844658221d3e8101a8b;hb=61edb7525f9d496f8ff029d8047dcb6edef29852;hp=170d7abfdffc2f1ec2963df06edcaa30709c80f3;hpb=1f694007c30cd8bd45359b1bf1514618807e93a4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Autopromote.php b/includes/Autopromote.php index 170d7abfdf..197ad9c957 100644 --- a/includes/Autopromote.php +++ b/includes/Autopromote.php @@ -197,7 +197,8 @@ class Autopromote { return in_array( 'bot', User::getGroupPermissions( $user->getGroups() ) ); default: $result = null; - wfRunHooks( 'AutopromoteCondition', array( $cond[0], array_slice( $cond, 1 ), $user, &$result ) ); + wfRunHooks( 'AutopromoteCondition', array( $cond[0], + array_slice( $cond, 1 ), $user, &$result ) ); if ( $result === null ) { throw new MWException( "Unrecognized condition {$cond[0]} for autopromotion!" ); }