mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-25290 conversion: Converted config to use MUC
This commit is contained in:
parent
9da506c2a3
commit
007bfe8b4d
6 changed files with 76 additions and 57 deletions
|
@ -150,6 +150,8 @@ class block_section_links extends block_base {
|
|||
global $DB;
|
||||
// TODO: Move these config settings to proper ones using component name
|
||||
$DB->delete_records('config_plugins', array('plugin' => 'blocks/section_links'));
|
||||
// Have to manually purge the cache as well
|
||||
cache_helper::invalidate_by_definition('core', 'config', array(), 'blocks/section_links');
|
||||
}
|
||||
|
||||
function has_config() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue