MDL-67362 antivirus: Add enabling and order changes to config_log

This commit is contained in:
Brendan Heywood 2019-11-26 14:35:00 +11:00
parent a5f618d6a9
commit 10a1c1b577

View File

@ -98,8 +98,10 @@ switch ($action) {
default:
break;
}
$new = implode(',', $activeantiviruses);
add_to_config_log('antiviruses', $CFG->antiviruses, $new, 'core');
set_config('antiviruses', $new);
set_config('antiviruses', implode(',', $activeantiviruses));
core_plugin_manager::reset_caches();
redirect ($returnurl);
redirect ($returnurl);