Fix undefined variable from r79828
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 12 Jan 2011 21:28:59 +0000 (21:28 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 12 Jan 2011 21:28:59 +0000 (21:28 +0000)
includes/installer/PostgresInstaller.php

index afed6b8..2d1d13b 100644 (file)
@@ -280,7 +280,7 @@ class PostgresInstaller extends DatabaseInstaller {
                }
 
                if( version_compare( $this->db->getServerVersion(), $this->ts2MaxVersion, '<' ) ) {
-                       if ( !$this->db->tableExists( 'pg_ts_cfg', $wgDBts2schema ) ) {
+                       if ( !$this->db->tableExists( 'pg_ts_cfg', $this->getVar( 'wgDBts2schema' ) ) ) {
                                return Status::newFatal( 
                                        'config-install-pg-ts2-failed',
                                        $this->getVar( 'wgDBname' ),