From: Brion Vibber Date: Thu, 26 Apr 2007 20:51:31 +0000 (+0000) Subject: Correct test which was reversed in r20158 X-Git-Tag: 1.31.0-rc.0~53215 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=7cf4ba8e8ab4ff21f598a344fc92a05400aeedde;p=lhc%2Fweb%2Fwiklou.git Correct test which was reversed in r20158 --- diff --git a/includes/User.php b/includes/User.php index ec3b805685..6f97371b5f 100644 --- a/includes/User.php +++ b/includes/User.php @@ -976,7 +976,7 @@ class User { */ public function isPingLimitable() { global $wgRateLimitsExcludedGroups; - return array_intersect($this->getEffectiveGroups(), $wgRateLimitsExcludedGroups) != array(); + return array_intersect($this->getEffectiveGroups(), $wgRateLimitsExcludedGroups) == array(); } /**