diff --git a/.travis.yml b/.travis.yml index de0920d..041e361 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,9 +12,7 @@ php: env: matrix: - - DB=pgsql MOODLE_BRANCH=MOODLE_31_STABLE - DB=pgsql MOODLE_BRANCH=master - - DB=mysqli MOODLE_BRANCH=MOODLE_31_STABLE - DB=mysqli MOODLE_BRANCH=master before_install: diff --git a/export.php b/export.php index ead107a..5dcd2ac 100644 --- a/export.php +++ b/export.php @@ -45,7 +45,6 @@ $PAGE->set_url($att->url_export()); $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(get_string('export', 'attendance')); $formparams = array('course' => $course, 'cm' => $cm, 'modcontext' => $context); diff --git a/report.php b/report.php index a785ba5..4a84f9f 100644 --- a/report.php +++ b/report.php @@ -53,7 +53,6 @@ $PAGE->set_pagelayout('report'); $PAGE->set_title($course->shortname. ": ".$att->name.' - '.get_string('report', '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('report', 'attendance')); $output = $PAGE->get_renderer('mod_attendance'); diff --git a/take.php b/take.php index 2e0843f..72877de 100644 --- a/take.php +++ b/take.php @@ -64,7 +64,6 @@ $PAGE->set_url($att->url_take()); $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'); diff --git a/tempmerge.php b/tempmerge.php index 9bf3f44..8815fca 100644 --- a/tempmerge.php +++ b/tempmerge.php @@ -45,7 +45,6 @@ require_login($course, true, $cm); $PAGE->set_title($course->shortname.": ".$att->name.' - '.get_string('tempusermerge', '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('tempusermerge', 'attendance')); $formdata = (object)array(