From 35515d62bc6203f768ab3a72c7e787d70d9cdb1e Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 18 Nov 2006 11:30:33 +0000 Subject: [PATCH] * (bug 7970) Use current connection explicitly on Database::getServerVersion --- RELEASE-NOTES | 1 + includes/Database.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f870d03c16..a1b5dcece6 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 == diff --git a/includes/Database.php b/includes/Database.php index 7dd734b7dc..7b6df376e0 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -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 ); } /** -- 2.20.1