diff --git a/classes/attendance_webservices_handler.php b/classes/attendance_webservices_handler.php index 6867659..934ca28 100644 --- a/classes/attendance_webservices_handler.php +++ b/classes/attendance_webservices_handler.php @@ -65,7 +65,6 @@ class attendance_handler { $cm->id = $attendance->coursemodule; $att = new mod_attendance_structure($att, $cm, $course, $context); - $todaysessions = $att->get_today_sessions(); if (!empty($todaysessions)) {