You are here

function wysiwyg_template_node_type_delete in Wysiwyg API template plugin 7.2

Implements hook_node_type_delete().

File

./wysiwyg_template.module, line 355
Makes TinyMCE Templates available as plugin for client-side editors integrated via Wysiwyg API.

Code

function wysiwyg_template_node_type_delete($info) {
  db_query("DELETE FROM {wysiwyg_templates_content_types} WHERE type = :type", array(
    ':type' => $info->type,
  ));
  db_query("DELETE FROM {wysiwyg_templates_default} WHERE type = :type", array(
    ':type' => $info->type,
  ));
}