X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FAutopromote.php;h=d7ed2f904b9bca50921c9eb5c7d25699ef830ba5;hb=21b7b27f0379cff1b06efa95d27fa88684b65c57;hp=9c77855d74350383e48408a218486d01c8c0f312;hpb=5446238520cceb067792338cdfc83a343b480e15;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 ) {