From: Alexandre Emsenhuber Date: Fri, 2 Apr 2010 17:32:56 +0000 (+0000) Subject: Fix notice: Use of undefined constant __FUNC__ - assumed '__FUNC__' in /Library/WebSe... X-Git-Tag: 1.31.0-rc.0~37268 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=c779e80b43bb63eb728b20cc22ea6f5217dd8071;p=lhc%2Fweb%2Fwiklou.git Fix notice: Use of undefined constant __FUNC__ - assumed '__FUNC__' in /Library/WebServer/Documents/phase3/includes/Article.php on line 1039 --- diff --git a/includes/Article.php b/includes/Article.php index ff8cd4dd53..9a4a7005fe 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1022,7 +1022,7 @@ class Article { * array */ public function getRobotPolicyForView() { - wfDeprecated( __FUNC__ ); + wfDeprecated( __FUNCTION__ ); $policy = $this->getRobotPolicy( 'view' ); return $policy['index'] . ',' . $policy['follow']; }