From: Alexandre Emsenhuber Date: Fri, 2 Apr 2010 19:51:21 +0000 (+0000) Subject: Per Nikerabbit, follow-up to r64522: use __METHOD__ X-Git-Tag: 1.31.0-rc.0~37267 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=07171f23dde5966805800acae5bc9659b422bd87;p=lhc%2Fweb%2Fwiklou.git Per Nikerabbit, follow-up to r64522: use __METHOD__ --- diff --git a/includes/Article.php b/includes/Article.php index 9a4a7005fe..39411364d9 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1022,7 +1022,7 @@ class Article { * array */ public function getRobotPolicyForView() { - wfDeprecated( __FUNCTION__ ); + wfDeprecated( __METHOD__ ); $policy = $this->getRobotPolicy( 'view' ); return $policy['index'] . ',' . $policy['follow']; }