Removed most exit() calls from the MediaWiki core, by replacing them with either...
[lhc/web/wiklou.git] / includes / SpecialLockdb.php
index 3c153f9..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 );