mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
Revert "MDL-61876 admin: for upgraded sites keep forceclean=0"
This reverts commit 75290313680125d0f8e1264f004016778d0a14b4.
This commit is contained in:
parent
a9be2f18bd
commit
e3a1b34376
@ -2216,15 +2216,5 @@ function xmldb_main_upgrade($oldversion) {
|
||||
upgrade_main_savepoint(true, 2018040500.01);
|
||||
}
|
||||
|
||||
if ($oldversion < 2018050200.01) {
|
||||
|
||||
// For upgraded sites we set $CFG->forceclean to 0 to preserve the current behavior.
|
||||
// For new sites the default for this setting will be 1.
|
||||
set_config('forceclean', 0);
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2018050200.01);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2018050200.01; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2018050200.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user