r70348 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70347‎ | r70348 | r70349 >
Date:18:51, 2 August 2010
Author:maxsem
Status:ok
Tags:
Comment:
Removed Article::getRobotPolicyForView() - deprecated and not used anywhere
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -1093,19 +1093,6 @@
10941094 }
10951095
10961096 /**
1097 - * Get the robot policy to be used for the current action=view request.
1098 - * @return String the policy that should be set
1099 - * @deprecated use getRobotPolicy() instead, which returns an associative
1100 - * array
1101 - */
1102 - public function getRobotPolicyForView() {
1103 - wfDeprecated( __METHOD__ );
1104 - $policy = $this->getRobotPolicy( 'view' );
1105 -
1106 - return $policy['index'] . ',' . $policy['follow'];
1107 - }
1108 -
1109 - /**
11101097 * Get the robot policy to be used for the current view
11111098 * @param $action String the action= GET parameter
11121099 * @return Array the policy that should be set

Status & tagging log