r64526 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64525‎ | r64526 | r64527 >
Date:19:51, 2 April 2010
Author:ialex
Status:ok
Tags:
Comment:
Per Nikerabbit, follow-up to r64522: use __METHOD__
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -1022,7 +1022,7 @@
10231023 * array
10241024 */
10251025 public function getRobotPolicyForView() {
1026 - wfDeprecated( __FUNCTION__ );
 1026+ wfDeprecated( __METHOD__ );
10271027 $policy = $this->getRobotPolicy( 'view' );
10281028 return $policy['index'] . ',' . $policy['follow'];
10291029 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64522Fix notice: Use of undefined constant __FUNC__ - assumed '__FUNC__' in /Libra...ialex17:32, 2 April 2010

Status & tagging log