Remove unused local variable
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 8 Oct 2013 16:08:00 +0000 (18:08 +0200)
committerHashar <hashar@free.fr>
Wed, 9 Oct 2013 16:11:21 +0000 (16:11 +0000)
Change-Id: I93ce25fe158f7a82ade102953d6a2453620b7e0e

includes/installer/WebInstallerOutput.php

index 79dc80f..1df8f05 100644 (file)
@@ -218,12 +218,12 @@ class WebInstallerOutput {
 
        public function outputHeader() {
                $this->headerDone = true;
-               $dbTypes = $this->parent->getDBTypes();
-
                $this->parent->request->response()->header( 'Content-Type: text/html; charset=utf-8' );
+
                if ( !$this->allowFrames ) {
                        $this->parent->request->response()->header( 'X-Frame-Options: DENY' );
                }
+
                if ( $this->redirectTarget ) {
                        $this->parent->request->response()->header( 'Location: ' . $this->redirectTarget );