function maxlength_node_type_delete in Maxlength 7
Same name and namespace in other branches
- 7.2 maxlength.module \maxlength_node_type_delete()
Implements hook_node_type_update().
File
- ./
maxlength.module, line 97 - Enables a max length countdown on node body, title and CCK textfields.
Code
function maxlength_node_type_delete($info) {
$labels = _maxlength_node_type_get_labels();
foreach ($labels as $label) {
variable_del('maxlength_' . $label . $info->type);
}
}