There was an error while loading. Please reload this page.
1 parent 6df4938 commit 917273fCopy full SHA for 917273f
1 file changed
classes/task/evasys_send_to_api.php
@@ -60,7 +60,8 @@ public function get_name() {
60
*/
61
public function execute() {
62
$taskdata = $this->get_custom_data();
63
-
+ $updatesurvey = false;
64
+ $updatecourse = false;
65
if ($taskdata != null) {
66
mtrace($this->get_name() . ' executed.');
67
@@ -140,8 +141,6 @@ public function execute() {
140
141
booking_option::purge_cache_for_option($newoption->id);
142
return;
143
}
- $updatesurvey = false;
144
- $updatecourse = false;
145
// Checks if teachers or option name changed. If it changed we already know we need to update course and survey.
146
if (
147
!empty($teacherchanges)
0 commit comments