Split includes/HTMLForm
[lhc/web/wiklou.git] / includes / SpecialPage.php
index 2f0e5e9..f70a6dc 100644 (file)
@@ -640,17 +640,11 @@ class SpecialPage {
 
        /**
         * Sets headers - this should be called from the execute() method of all derived classes!
-        * @param string|array $robotPolicy string such as "noindex,nofollow" or an array in this
-        *   format:
-        *   array(
-        *      'index' => 'noindex' // or 'index'
-        *      'follow' => 'nofollow' // or 'follow'
-        *   )
-        */
-       function setHeaders( $robotPolicy = "noindex,nofollow" ) {
+        */
+       function setHeaders() {
                $out = $this->getOutput();
                $out->setArticleRelated( false );
-               $out->setRobotPolicy( $robotPolicy );
+               $out->setRobotPolicy( "noindex,nofollow" );
                $out->setPageTitle( $this->getDescription() );
        }