Fix comment to note return type on error
[lhc/web/wiklou.git] / includes / db / DatabasePostgres.php
index a485a66..db78cf2 100644 (file)
@@ -1239,7 +1239,7 @@ END;
                }
                $this->doQuery("DROP TABLE $safeschema.$ctest");
 
-               $res = dbsource( "../maintenance/postgres/tables.sql", $this);
+               $res = $this->sourceFile( "../maintenance/postgres/tables.sql" );
 
                ## Update version information
                $mwv = $this->addQuotes($wgVersion);
@@ -1394,22 +1394,7 @@ END;
                return implode( ' || ', $stringList );
        }
 
-       /* These are not used yet, but we know we don't want the default version */
-
-       public function lock( $lockName, $method, $timeout = 5 ) {
-               return true;
-       }
-       public function unlock( $lockName, $method ) {
-               return true;
-       }
-       
        public function getSearchEngine() {
                return "SearchPostgres";
        }
-
-       /** Todo: maybe implement this? */
-       public function lockTables( $read, $write, $method ) {}
-
-       public function unlockTables( $method ) {}
-
 } // end DatabasePostgres class