Partial revert r78593 (adding --upgrade option to install.php). Rather than supportin...
[lhc/web/wiklou.git] / maintenance / runBatchedQuery.php
index ab68e06..dd3680c 100644 (file)
@@ -35,7 +35,7 @@ class BatchedQueryRunner extends Maintenance {
        public function execute() {
                if ( !$this->hasArg() )
                        $this->error( "No query specified. Specify the query as a command line parameter.", true );
-               
+
                $query = $this->getArg();
                $wait = $this->getOption( 'wait', 5 );
                $n = 1;
@@ -57,4 +57,4 @@ class BatchedQueryRunner extends Maintenance {
 
 
 $maintClass = "BatchedQueryRunner";
-require_once( DO_MAINTENANCE );
+require_once( RUN_MAINTENANCE_IF_MAIN );