Removed apparently useless header() call, generates warning.
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 3 Oct 2006 01:10:43 +0000 (01:10 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 3 Oct 2006 01:10:43 +0000 (01:10 +0000)
maintenance/backup.inc

index 12dab66..734a132 100644 (file)
@@ -168,9 +168,6 @@ class BackupDumper {
        }
 
        function dump( $history, $text = MW_EXPORT_TEXT ) {
-               # This shouldn't happen if on console... ;)
-               header( 'Content-type: text/html; charset=UTF-8' );
-
                # Notice messages will foul up your XML output even if they're
                # relatively harmless.
                ini_set( 'display_errors', false );