Browse Source

remove deprecated call to update button

MOODLE_32_STABLE
Dan Marsden 8 years ago
committed by GitHub
parent
commit
414526c48e
  1. 1
      sessions.php

1
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_title($course->shortname. ": ".$att->name);
$PAGE->set_heading($course->fullname); $PAGE->set_heading($course->fullname);
$PAGE->set_cacheable(true); $PAGE->set_cacheable(true);
$PAGE->set_button($OUTPUT->update_module_button($cm->id, 'attendance'));
$PAGE->navbar->add($att->name); $PAGE->navbar->add($att->name);
$currenttab = attendance_tabs::TAB_ADD; $currenttab = attendance_tabs::TAB_ADD;

Loading…
Cancel
Save