MDL-38654 Deprecating gdversion setting: Fix typo for new install
authorDamyon Wiese <damyon@moodle.com>
Mon, 25 Mar 2013 06:05:17 +0000 (14:05 +0800)
committerDamyon Wiese <damyon@moodle.com>
Mon, 25 Mar 2013 06:06:00 +0000 (14:06 +0800)
lib/db/install.php

index dbbf77f..551228b 100644 (file)
@@ -328,7 +328,7 @@ function xmldb_main_install() {
     set_config('jsrev', time());
 
     // No admin setting for this any more, GD is now required, remove in Moodle 2.6.
-    gdversion('gdversion', 2);
+    set_config('gdversion', 2);
 
     // Install licenses
     require_once($CFG->libdir . '/licenselib.php');