From: Max Semenik Date: Mon, 2 Aug 2010 18:51:18 +0000 (+0000) Subject: Removed Article::getRobotPolicyForView() - deprecated and not used anywhere X-Git-Tag: 1.31.0-rc.0~35770 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=ef733eac111296fae76060bb02614537d5e7e905;p=lhc%2Fweb%2Fwiklou.git Removed Article::getRobotPolicyForView() - deprecated and not used anywhere --- diff --git a/includes/Article.php b/includes/Article.php index f134099be0..f2dcdb6d79 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1092,19 +1092,6 @@ class Article { } } - /** - * Get the robot policy to be used for the current action=view request. - * @return String the policy that should be set - * @deprecated use getRobotPolicy() instead, which returns an associative - * array - */ - public function getRobotPolicyForView() { - wfDeprecated( __METHOD__ ); - $policy = $this->getRobotPolicy( 'view' ); - - return $policy['index'] . ',' . $policy['follow']; - } - /** * Get the robot policy to be used for the current view * @param $action String the action= GET parameter