mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
database: MDL-16999 move the flag from config table to config_plugins table, merged from 1.9
This commit is contained in:
parent
15f5036a10
commit
f1cddcf961
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user