Skip to content

Commit

Permalink
MDL-10906 - unset config 'resource_allowlocalfiles'.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwijaya committed Aug 30, 2010
1 parent 47e75d0 commit 3542707
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions mod/resource/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion mod/resource/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.