diff --git a/enrol/category/locallib.php b/enrol/category/locallib.php index 6924eaa6ea5..060e7330076 100644 --- a/enrol/category/locallib.php +++ b/enrol/category/locallib.php @@ -254,6 +254,7 @@ function enrol_category_sync_full() { $plugin->delete_instance($instance); } } + return; } list($roleids, $params) = $DB->get_in_or_equal(array_keys($roles), SQL_PARAMS_NAMED, 'r000');