plus1.install in Plus 1 7
Same filename and directory in other branches
Install file
File
plus1.installView source
<?php
/**
* @file
* Install file
*/
/**
* Implements hook_uninstall().
*/
function plus1_uninstall() {
variable_del('plus1_add_js');
variable_del('plus1_add_css');
variable_del('plus1_node_types');
$entity_info = entity_get_info('node');
foreach ($entity_info['view modes'] as $vmid => $view_mode) {
variable_del('plus1_node_in_' . $vmid . '_view');
}
variable_del('plus1_node_vote_text');
variable_del('plus1_node_voted_text');
variable_del('plus1_node_undo_vote');
variable_del('plus1_node_undo_vote_text');
variable_del('plus1_node_widget_weight');
variable_del('plus1_comment_widget_show');
variable_del('plus1_comment_vote_text');
variable_del('plus1_comment_voted_text');
variable_del('plus1_comment_undo_vote');
variable_del('plus1_comment_undo_vote_text');
variable_del('plus1_comment_widget_weight');
variable_del('plus1_taxonomy_term_widget_show');
variable_del('plus1_taxonomy_vocabularies');
variable_del('plus1_taxonomy_term_vote_text');
variable_del('plus1_taxonomy_term_voted_text');
variable_del('plus1_taxonomy_term_undo_vote');
variable_del('plus1_taxonomy_term_undo_vote_text');
variable_del('plus1_taxonomy_term_widget_weight');
}
Functions
Name![]() |
Description |
---|---|
plus1_uninstall | Implements hook_uninstall(). |