From b239cd3710490f28e505d9b052fcad42f0a1428c Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Sat, 13 Aug 2016 14:02:19 +1200 Subject: [PATCH] remove deprecated call to update button --- preferences.php | 1 - 1 file changed, 1 deletion(-) diff --git a/preferences.php b/preferences.php index 194dd54..1fd543d 100644 --- a/preferences.php +++ b/preferences.php @@ -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();