From 9bba4828fbbcf10ea30bc55081f87cf469dc366b Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 24 Nov 2021 08:45:18 +0100 Subject: [PATCH] Remove unused/unavailable call of add_page --- lib.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib.php b/lib.php index 086619f..3494438 100644 --- a/lib.php +++ b/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; }