quick fix for r52382: fix errors in DatabasePostgres, lock() has incompatible signatu...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 26 Jun 2009 13:25:10 +0000 (13:25 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 26 Jun 2009 13:25:10 +0000 (13:25 +0000)
includes/db/DatabasePostgres.php

index 98ef1ac..1594940 100644 (file)
@@ -1389,7 +1389,7 @@ END;
 
        /* These are not used yet, but we know we don't want the default version */
 
-       public function lock( $lockName, $method ) {
+       public function lock( $lockName, $method, $timeout = 5 ) {
                return true;
        }
        public function unlock( $lockName, $method ) {
@@ -1403,4 +1403,9 @@ END;
        /** No-op */
        public function setBigSelects( $value = true ) {}
 
+       /** Todo: maybe implement this? */
+       public function lockTables( $read, $write, $method ) {}
+
+       public function unlockTables( $method ) {}
+
 } // end DatabasePostgres class