From: Alexandre Emsenhuber Date: Tue, 3 Jun 2008 15:05:14 +0000 (+0000) Subject: Fatal error: Call to undefined method User::userCan() X-Git-Tag: 1.31.0-rc.0~47213 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=023223dca01a3bfacf30cff70d853c15cb5e3cb4;p=lhc%2Fweb%2Fwiklou.git Fatal error: Call to undefined method User::userCan() --- diff --git a/includes/User.php b/includes/User.php index 426f63c17e..a57a95d9d9 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1101,7 +1101,7 @@ class User { * @return bool */ public function isPingLimitable() { - return !$this->userCan('noratelimits'); + return !$this->isAllowed('noratelimits'); } /**