From: Alexandre Emsenhuber Date: Thu, 14 Apr 2011 20:00:25 +0000 (+0000) Subject: Fix warning: Missing argument 1 for wfDeprecated(), called in includes/Article.php... X-Git-Tag: 1.31.0-rc.0~30835 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=1573551d80eaeae6acca039346fd90e5b6c7151d;p=lhc%2Fweb%2Fwiklou.git Fix warning: Missing argument 1 for wfDeprecated(), called in includes/Article.php on line 580 and defined in includes/GlobalFunctions.php on line 3094 --- diff --git a/includes/Article.php b/includes/Article.php index 55cf08d727..67c8f91e4a 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -577,7 +577,7 @@ class Article { * @return mixed value of $x, or value stored in Article::mForUpdate */ public function forUpdate( $x = null ) { - wfDeprecated(); + wfDeprecated( __METHOD__ ); return wfSetVar( $this->mForUpdate, $x ); }