X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAutopromote.php;h=d7ed2f904b9bca50921c9eb5c7d25699ef830ba5;hb=18d478e696f3737991773408024b4f3e9111693b;hp=9c77855d74350383e48408a218486d01c8c0f312;hpb=a81d96d3134359b231d881324d6017c6de815c9b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Autopromote.php b/includes/Autopromote.php index 9c77855d74..d7ed2f904b 100644 --- a/includes/Autopromote.php +++ b/includes/Autopromote.php @@ -157,6 +157,7 @@ class Autopromote { * * @param $cond Array: A condition, which must not contain other conditions * @param $user User The user to check the condition against + * @throws MWException * @return bool Whether the condition is true for the user */ private static function checkCondition( $cond, User $user ) {