From: Roan Kattouw Date: Mon, 4 May 2009 07:00:52 +0000 (+0000) Subject: Fix up r50126: dump $wgDBtype rather than a class name, per CR comment X-Git-Tag: 1.31.0-rc.0~41897 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=fc32d6360920b89b5e570ba0c6fb54ddaad370be;p=lhc%2Fweb%2Fwiklou.git Fix up r50126: dump $wgDBtype rather than a class name, per CR comment --- diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index 9d16fa8f3f..02b7b662bd 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -110,7 +110,7 @@ class ApiQuerySiteinfo extends ApiQueryBase { $data['generator'] = "MediaWiki {$GLOBALS['wgVersion']}"; $data['phpversion'] = phpversion(); $data['phpsapi'] = php_sapi_name(); - $data['dbclass'] = get_class($this->getDB()); + $data['dbtype'] = $GLOBALS['wgDBtype']; $data['dbversion'] = $this->getDB()->getServerVersion(); $svn = SpecialVersion::getSvnRevision( $GLOBALS['IP'] );