Remove unused/unavailable call of add_page

This commit is contained in:
Kumi 2021-11-24 08:45:18 +01:00
parent 2661b63758
commit 9bba4828fb

View file

@ -45,9 +45,6 @@ function htmlcert_add_instance($data, $mform) {
$data->timemodified = $data->timecreated;
$data->id = $DB->insert_record('htmlcert', $data);
// Add a page to this htmlcert.
$template->add_page();
return $data->id;
}