Merge branch 'MDL-72720-master-fix' of github.com:sarjona/moodle
This commit is contained in:
@@ -60,7 +60,7 @@ class logstore extends base {
|
||||
|
||||
if ($haschanged) {
|
||||
$new = implode(',', array_flip($plugins));
|
||||
add_to_config_log('tool_logstore_visibility', $oldvalue, $new, $pluginname);
|
||||
add_to_config_log('tool_logstore_visibility', !$enabled, $enabled, $pluginname);
|
||||
set_config('enabled_stores', $new, 'tool_log');
|
||||
// Reset caches.
|
||||
\core_plugin_manager::reset_caches();
|
||||
|
||||
Reference in New Issue
Block a user