rm always-true isOK() check
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 17 Oct 2010 19:35:13 +0000 (19:35 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 17 Oct 2010 19:35:13 +0000 (19:35 +0000)
includes/installer/PostgresInstaller.php

index 75ff055..c0d9677 100644 (file)
@@ -78,9 +78,7 @@ class PostgresInstaller extends DatabaseInstaller {
                }
 
                // Try to connect
-               if ( $status->isOK() ) {
-                       $status->merge( $this->getConnection() );
-               }
+               $status->merge( $this->getConnection() );
                if ( !$status->isOK() ) {
                        return $status;
                }