From 414526c48ebcca17f43005b1cb955a78ed2d636e Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Sat, 13 Aug 2016 14:01:27 +1200 Subject: [PATCH] remove deprecated call to update button --- sessions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/sessions.php b/sessions.php index 0ffba45..25ab52b 100644 --- a/sessions.php +++ b/sessions.php @@ -59,7 +59,6 @@ $PAGE->set_url($att->url_sessions(array('action' => $pageparams->action))); $PAGE->set_title($course->shortname. ": ".$att->name); $PAGE->set_heading($course->fullname); $PAGE->set_cacheable(true); -$PAGE->set_button($OUTPUT->update_module_button($cm->id, 'attendance')); $PAGE->navbar->add($att->name); $currenttab = attendance_tabs::TAB_ADD;