Refactor a bit preparatory to fixing bug 8068: rewrite the robot policy stuff in...
[lhc/web/wiklou.git] / includes / ProtectionForm.php
index e778782..aa682bf 100644 (file)
@@ -103,7 +103,7 @@ class ProtectionForm {
        function show( $err = null ) {
                global $wgOut, $wgUser;
 
-               $wgOut->setRobotpolicy( 'noindex,nofollow' );
+               $wgOut->setRobotPolicy( 'noindex,nofollow' );
 
                if( is_null( $this->mTitle ) ||
                        $this->mTitle->getNamespace() == NS_MEDIAWIKI ) {