remove deprecated call to update button
authorDan Marsden <dan@danmarsden.com>
Sat, 13 Aug 2016 02:01:27 +0000 (14:01 +1200)
committerGitHub <noreply@github.com>
Sat, 13 Aug 2016 02:01:27 +0000 (14:01 +1200)
sessions.php

index 0ffba45..25ab52b 100644 (file)
@@ -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;