* (bug 7970) Use current connection explicitly on Database::getServerVersion
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 18 Nov 2006 11:30:33 +0000 (11:30 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 18 Nov 2006 11:30:33 +0000 (11:30 +0000)
RELEASE-NOTES
includes/Database.php

index f870d03..a1b5dce 100644 (file)
@@ -200,6 +200,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 7918) "Templates used on this page" is now shown for read-only pages.
 * (bug 7688) When viewing diff, section anchors in autosummary jump to section
   on current page instead of loading the latest version.
+* (bug 7970) Use current connection explicitly on Database::getServerVersion
 
 
 == Languages updated ==
index 7dd734b..7b6df37 100644 (file)
@@ -1833,7 +1833,7 @@ class Database {
         * @return string Version information from the database
         */
        function getServerVersion() {
-               return mysql_get_server_info();
+               return mysql_get_server_info( $this->mConn );
        }
 
        /**