Passed
Push — master ( 2b869d...39a73d )
by Thomas
06:47
created
app/Listeners/UpdateCourseEvents.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $course = $event->course;
15 15
 
16 16
         // if course dates have changed, sync all events
17
-        if ($course->isDirty('start_date') || $course->isDirty('end_date') ||  $course->relationLoaded('times') && $course->times->isDirty()) {
17
+        if ($course->isDirty('start_date') || $course->isDirty('end_date') || $course->relationLoaded('times') && $course->times->isDirty()) {
18 18
             Log::info('cleaning the events after course date change');
19 19
 
20 20
             if ($course->events->count() > 0) {
Please login to merge, or discard this patch.