X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Frebuildall.php;h=1268d2091627a50a331e70dd1379ca2c616ab6a9;hb=83044a8e42bda7ac4d493f7487c9899f36c88c17;hp=54444e9aa51a6d95508e192a2079f621c33ff24a;hpb=be8b80b55126cfb977fd51780040d3aef835617b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildall.php b/maintenance/rebuildall.php index 54444e9aa5..1268d20916 100644 --- a/maintenance/rebuildall.php +++ b/maintenance/rebuildall.php @@ -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' ) {