Bug 6031 (feature request for __NOGALLERY__ on category pages) fixed
[lhc/web/wiklou.git] / includes / SpecialLockdb.php
index a07c1d8..38d715b 100644 (file)
@@ -94,7 +94,7 @@ END
                $fp = fopen( $wgReadOnlyFile, 'w' );
 
                if ( false === $fp ) {
-                       $wgOut->fileNotFoundError( $wgReadOnlyFile );
+                       $wgOut->showFileNotFoundError( $wgReadOnlyFile );
                        return;
                }
                fwrite( $fp, $this->reason );
@@ -107,7 +107,7 @@ END
        }
 
        function showSuccess() {
-               global $wgOut, $wgUser;
+               global $wgOut;
 
                $wgOut->setPagetitle( wfMsg( 'lockdb' ) );
                $wgOut->setSubtitle( wfMsg( 'lockdbsuccesssub' ) );