function simplify_uninstall_variable_del in Simplify 7.2
Delete variables.
1 call to simplify_uninstall_variable_del()
- simplify_uninstall in ./
simplify.install - Implement hook_uninstall().
File
- ./
simplify.install, line 24 - Install, update and uninstall functions for the Simplify module.
Code
function simplify_uninstall_variable_del($node_type) {
$node_type_type = $node_type['type'];
$simplify_node_type = $node_type_type == 'node' ? '' : '_' . $node_type_type;
variable_del('simplify' . $simplify_node_type . '_node_hide_filter');
variable_del('simplify' . $simplify_node_type . '_node_hide_menu');
variable_del('simplify' . $simplify_node_type . '_node_hide_revision_information');
variable_del('simplify' . $simplify_node_type . '_node_hide_path');
variable_del('simplify' . $simplify_node_type . '_node_hide_comment_settings');
variable_del('simplify' . $simplify_node_type . '_node_hide_author');
variable_del('simplify' . $simplify_node_type . '_node_hide_options');
}