(bug 23375) Added ogv, oga, spx as extensions for ogg files. Patch by Derk-Jan Hartman.
[lhc/web/wiklou.git] / maintenance / rebuildtextindex.php
index 27ee24d..4521c6f 100644 (file)
@@ -35,7 +35,7 @@ class RebuildTextIndex extends Maintenance {
                $this->mDescription = "Rebuild search index table from scratch";
        }
 
-       protected function getDbType() {
+       public function getDbType() {
                return Maintenance::DB_ADMIN;
        }
 
@@ -44,7 +44,7 @@ class RebuildTextIndex extends Maintenance {
 
                // Shouldn't be needed for Postgres
                if ( $wgDBtype == 'postgres' ) {
-                       $this->error( "This script does not work with PostgreSQL.\n", true );
+                       $this->error( "This script is not needed when using Postgres.\n", true );
                }
        
                $this->db = wfGetDB( DB_MASTER );