From: jerome Date: Mon, 24 Nov 2008 00:54:20 +0000 (+0000) Subject: database: MDL-16999 move the flag from config table to config_plugins table, merged... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f1cddcf961d8434f49900f4ad4f24dc467674414;p=moodle.git database: MDL-16999 move the flag from config table to config_plugins table, merged from 1.9 --- diff --git a/mod/data/lib.php b/mod/data/lib.php index d30da623e0..822ab01ae3 100755 --- a/mod/data/lib.php +++ b/mod/data/lib.php @@ -2552,8 +2552,8 @@ function data_check_required_entries_fields($result) { global $CFG, $DB; if (!empty($CFG->version) //we are not installing a new Moodle site && $CFG->version < 2008112101 //the version is anterior to the one when the fix has been applied - && !get_config("","data/requiredentriesfixflag")) { //do not show message when upgrading an anterior version when the patch has already been applied - set_config("data/requiredentriesfixflag",true); + && !get_config("data","requiredentriesfixflag")) { //do not show message when upgrading an anterior version when the patch has already been applied + set_config("requiredentriesfixflag",true,"data"); $databases = $DB->get_records_sql("SELECT d.*, c.fullname FROM {data} d, {course} c