3.25 deletetemplate

Deletes a template from the template database.

Parameters:

$kiriwrite_dbmodule->deletetemplate(options);

Usage:

$kiriwrite_dbmodule->deletetemplate({ TemplateFilename => "template.html" });

options
Specifies the following options as a hash in any order.

Value Description
TemplateFilename Specifies the template with the filename to delete.

If the template being deleted does not exist then the error returned should be 'TemplateDoesNotExist' in the $error scalar.

If a database error occurs while deleting a template in the template database then the error returned should be 'TemplateDatabaseError' in the $error scalar and information about the error should be placed in the $errorext scalar.