(bug 14763) Strict standards issue in DatabasePostgres (also happened with DatabaseOr...
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 9 Jul 2008 18:14:01 +0000 (18:14 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 9 Jul 2008 18:14:01 +0000 (18:14 +0000)
RELEASE-NOTES
includes/db/DatabaseOracle.php
includes/db/DatabasePostgres.php

index acea80d..0f6dc37 100644 (file)
@@ -429,6 +429,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   application/xhtml+xml. The calls to this have been removed.
 * (bug 14764) Fix regression in from Article::lastModified(), failed to work
   on non-mySQL schemas.
+* (bug 14763) Child classes of Database (DatabasePostgres and DatabaseOracle)
+  had stict standards issues with setFakeSlaveLag() and setFakeMaster().
 
 === API changes in 1.13 ===
 
index d03298e..f4dbac7 100644 (file)
@@ -696,8 +696,8 @@ echo "error!\n";
                return 0;
        }
 
-       function setFakeSlaveLag() {}
-       function setFakeMaster() {}
+       function setFakeSlaveLag( $lag ) {}
+       function setFakeMaster( $enabled = true ) {}
 
        function getDBname() {
                return $this->mDBname;
index 839ca93..4d14b00 100644 (file)
@@ -1357,8 +1357,8 @@ END;
                return false;
        }
 
-       function setFakeSlaveLag() {}
-       function setFakeMaster() {}
+       function setFakeSlaveLag( $lag ) {}
+       function setFakeMaster( $enabled = true ) {}
 
        function getDBname() {
                return $this->mDBname;