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

index 194dd54..1fd543d 100644 (file)
@@ -53,7 +53,6 @@ $PAGE->set_url($att->url_preferences());
 $PAGE->set_title($course->shortname. ": ".$att->name.' - '.get_string('settings', 'attendance'));
 $PAGE->set_heading($course->fullname);
 $PAGE->set_cacheable(true);
-$PAGE->set_button($OUTPUT->update_module_button($cm->id, 'attendance'));
 $PAGE->navbar->add(get_string('settings', 'attendance'));
 
 $errors = array();