Merge "(bug 50078) Allow a string other than '*' as condition for DatabaseBase::delete()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 25 Jun 2013 17:18:10 +0000 (17:18 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 25 Jun 2013 17:18:10 +0000 (17:18 +0000)
maintenance/rebuildall.php

index 54444e9..1268d20 100644 (file)
@@ -35,6 +35,10 @@ class RebuildAll extends Maintenance {
                $this->mDescription = "Rebuild links, text index and recent changes";
        }
 
+       public function getDbType() {
+               return Maintenance::DB_ADMIN;
+       }
+
        public function execute() {
                // Rebuild the text index
                if ( wfGetDB( DB_SLAVE )->getType() != 'postgres' ) {