From 7cf4ba8e8ab4ff21f598a344fc92a05400aeedde Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 26 Apr 2007 20:51:31 +0000 Subject: [PATCH] Correct test which was reversed in r20158 --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /** -- 2.20.1