Correct test which was reversed in r20158
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 26 Apr 2007 20:51:31 +0000 (20:51 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 26 Apr 2007 20:51:31 +0000 (20:51 +0000)
includes/User.php

index ec3b805..6f97371 100644 (file)
@@ -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();
        }
 
        /**