From ef733eac111296fae76060bb02614537d5e7e905 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Mon, 2 Aug 2010 18:51:18 +0000 Subject: [PATCH] Removed Article::getRobotPolicyForView() - deprecated and not used anywhere --- includes/Article.php | 13 ------------- 1 file changed, 13 deletions(-) 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 -- 2.20.1