Oops, forgot to change this in r71426
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 22 Aug 2010 08:32:29 +0000 (08:32 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 22 Aug 2010 08:32:29 +0000 (08:32 +0000)
includes/installer/PostgresUpdater.php

index a12eba7..04f8053 100644 (file)
@@ -464,7 +464,7 @@ END;
        }
 
        public function addPgExtIndex( $table, $index, $type ) {
-               if ( $this->db->indexExists( $table, $ni[1] ) ) {
+               if ( $this->db->indexExists( $table, $index ) ) {
                        wfOut( "... index \"$index\" on table \"$table\" already exists\n" );
                } else {
                        wfOut( "Creating index \"$index\" on table \"$table\"\n" );