Model/Email/Template.php
public function deleteTemplateByCode($templatecode)
    {
        $template = $this->loadByTemplateByCode($templatecode);
        if ($template->getId()) {
            $template->delete();
        }
    }
public function deleteTemplateByCode($templatecode)
    {
        $template = $this->loadByTemplateByCode($templatecode);
        if ($template->getId()) {
            $template->delete();
        }
    }
public function deleteTemplateByCode ( $ templatecode ) { $ template = $ this -> loadByTemplateByCode ( $ templatecode ) ; if ( $ template -> getId ( ) ) { $ template -> delete ( ) ; } }
Delete email_template.

@param string $templatecode
Delete email_template .