Remove unused/unavailable call of add_page
This commit is contained in:
parent
2661b63758
commit
9bba4828fb
1 changed files with 0 additions and 3 deletions
3
lib.php
3
lib.php
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue