diff --git a/classes/task/autocohortsync.php b/classes/task/autocohortsync.php index ee5d2be..4a1b13e 100644 --- a/classes/task/autocohortsync.php +++ b/classes/task/autocohortsync.php @@ -19,7 +19,6 @@ class autocohortsync extends \core\task\scheduled_task { * Execute the task. */ public function execute() { - if(get_config("local_treestudyplan","csync_enable")){ $studyplans = studyplan::find_all(); @@ -28,6 +27,5 @@ class autocohortsync extends \core\task\scheduled_task { $enroller->sync(); } } - } } \ No newline at end of file