mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 15:10:05 +01:00
Merge branch 'MDL-73060' of https://github.com/paulholden/moodle
This commit is contained in:
commit
097098735a
@ -78,7 +78,7 @@ class webservice extends base {
|
||||
|
||||
if ($haschanged) {
|
||||
$new = implode(',', array_flip($plugins));
|
||||
add_to_config_log('webserviceprotocols', $CFG->webserviceprotocols, $new, 'core');
|
||||
add_to_config_log('webserviceprotocols', $CFG->webserviceprotocols ?? '', $new, 'core');
|
||||
set_config('webserviceprotocols', $new);
|
||||
// Reset caches.
|
||||
\core_plugin_manager::reset_caches();
|
||||
|
Loading…
x
Reference in New Issue
Block a user