Skip to content

Commit

Permalink
Merge branch 'MDL-67362-antivirus-config-log' of https://github.com/b…
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed Dec 10, 2019
2 parents b424815 + 10a1c1b commit 25137de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions admin/antiviruses.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@
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);

0 comments on commit 25137de

Please sign in to comment.