Merge branch 'MDL-72720-master-fix' of github.com:sarjona/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2021-10-18 11:43:09 +02:00
@@ -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();