Index: trunk/phase3/includes/Database.php |
— | — | @@ -1833,7 +1833,7 @@ |
1834 | 1834 | * @return string Version information from the database |
1835 | 1835 | */ |
1836 | 1836 | function getServerVersion() { |
1837 | | - return mysql_get_server_info(); |
| 1837 | + return mysql_get_server_info( $this->mConn ); |
1838 | 1838 | } |
1839 | 1839 | |
1840 | 1840 | /** |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -200,6 +200,7 @@ |
201 | 201 | * (bug 7918) "Templates used on this page" is now shown for read-only pages. |
202 | 202 | * (bug 7688) When viewing diff, section anchors in autosummary jump to section |
203 | 203 | on current page instead of loading the latest version. |
| 204 | +* (bug 7970) Use current connection explicitly on Database::getServerVersion |
204 | 205 | |
205 | 206 | |
206 | 207 | == Languages updated == |