Removed Article::getRobotPolicyForView() - deprecated and not used anywhere
authorMax Semenik <maxsem@users.mediawiki.org>
Mon, 2 Aug 2010 18:51:18 +0000 (18:51 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Mon, 2 Aug 2010 18:51:18 +0000 (18:51 +0000)
includes/Article.php

index f134099..f2dcdb6 100644 (file)
@@ -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