Permalink
Browse files

MDL-10906 - unset config 'resource_allowlocalfiles'.

  • Loading branch information...
1 parent 47e75d0 commit 354270790308ec215f3e0774bf3c5361c229e7e4 Rossiani Wijaya committed Aug 30, 2010
Showing with 6 additions and 1 deletion.
  1. +5 −0 mod/resource/db/upgrade.php
  2. +1 −1 mod/resource/version.php
@@ -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;
}
View
@@ -26,7 +26,7 @@
defined('MOODLE_INTERNAL') || die;
-$module->version = 2010080300;
+$module->version = 2010083000;
$module->requires = 2010080300; // Requires this Moodle version
$module->cron = 0;

0 comments on commit 3542707

Please sign in to comment.