From f84d4f78b3a81ef27f6a7af4ca9907d6d0532d8d Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Wed, 8 Mar 2017 19:07:41 +1300 Subject: [PATCH] remove params not needed in 3.1 branch. --- sessions.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sessions.php b/sessions.php index ca5a91c..ff4fd4b 100644 --- a/sessions.php +++ b/sessions.php @@ -143,12 +143,6 @@ switch ($att->pageparams->action) { $att->delete_sessions($sessionsids); attendance_update_users_grade($att); redirect($att->url_manage(), get_string('sessiondeleted', 'attendance')); - } else if ($att->pageparams->action == mod_attendance_sessions_page_params::ACTION_CREATE_CAL_EVENTS) { - attendance_create_calendar_events($sessionsids); - redirect($att->url_manage(), get_string('createcheckcalevents', 'attendance')); - } else if ($att->pageparams->action == mod_attendance_sessions_page_params::ACTION_DELETE_CAL_EVENTS) { - attendance_delete_calendar_events($sessionsids); - redirect($att->url_manage(), get_string('deletecheckcalevents', 'attendance')); } } $sessid = optional_param_array('sessid', '', PARAM_SEQUENCE);