Skip to content

Commit 917273f

Browse files
author
David Ala
committed
Codestyle
1 parent 6df4938 commit 917273f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

classes/task/evasys_send_to_api.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public function get_name() {
6060
*/
6161
public function execute() {
6262
$taskdata = $this->get_custom_data();
63-
63+
$updatesurvey = false;
64+
$updatecourse = false;
6465
if ($taskdata != null) {
6566
mtrace($this->get_name() . ' executed.');
6667

@@ -140,8 +141,6 @@ public function execute() {
140141
booking_option::purge_cache_for_option($newoption->id);
141142
return;
142143
}
143-
$updatesurvey = false;
144-
$updatecourse = false;
145144
// Checks if teachers or option name changed. If it changed we already know we need to update course and survey.
146145
if (
147146
!empty($teacherchanges)

0 commit comments

Comments
 (0)