Merge "Re add wpScrolltop id in EditPage"
[lhc/web/wiklou.git] / maintenance / install.php
index 81b6d9c..cac3009 100644 (file)
@@ -90,6 +90,13 @@ class CommandLineInstaller extends Maintenance {
                $this->addOption( 'env-checks', "Run environment checks only, don't change anything" );
        }
 
+       public function getDbType() {
+               if ( $this->hasOption( 'env-checks' ) ) {
+                       return Maintenance::DB_NONE;
+               }
+               return parent::getDbType();
+       }
+
        function execute() {
                global $IP;