remove deprecated call to update button
authorDan Marsden <dan@danmarsden.com>
Sat, 13 Aug 2016 00:26:05 +0000 (12:26 +1200)
committerGitHub <noreply@github.com>
Sat, 13 Aug 2016 00:26:05 +0000 (12:26 +1200)
manage.php

index 5623013..a85d711 100644 (file)
@@ -75,7 +75,6 @@ $PAGE->set_url($att->url_manage());
 $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);
 
 $output = $PAGE->get_renderer('mod_attendance');