mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-10906 - unset config 'resource_allowlocalfiles'.
This commit is contained in:
parent
47e75d04b8
commit
3542707903
@ -251,6 +251,11 @@ function xmldb_resource_upgrade($oldversion) {
|
||||
upgrade_mod_savepoint(true, 2009080501, 'resource');
|
||||
}
|
||||
|
||||
// MDL-10906. Removing resource_allowlocalfiles setting.
|
||||
if ($oldversion < 2010083000) {
|
||||
unset_config('resource_allowlocalfiles');
|
||||
upgrade_mod_savepoint(true, 2010083000, 'resource');
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
$module->version = 2010080300;
|
||||
$module->version = 2010083000;
|
||||
$module->requires = 2010080300; // Requires this Moodle version
|
||||
$module->cron = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user