Skip to content

Commit

Permalink
Merge branch 'MDL-54573-master' of git://github.com/danpoltawski/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed May 17, 2016
2 parents 2a1cfd3 + fc3d70d commit 2fb0f13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/testing/classes/util.php
Original file line number Diff line number Diff line change
Expand Up @@ -1103,10 +1103,9 @@ public static function get_environment() {
$env['phpversion'] = $phpversion;

// Add database type and version.
$dbtype = $DB->get_dbvendor();
$dbtype = $CFG->dbtype;
$dbinfo = $DB->get_server_info();
$dbversion = $dbinfo['version'];
$env['dbtype'] = ucfirst($dbtype);
$env['dbversion'] = $dbversion;

// OS details.
Expand Down

0 comments on commit 2fb0f13

Please sign in to comment.