You are here

vote_up_down.install in Vote Up/Down 6

Same filename and directory in other branches
  1. 5 vote_up_down.install

The .install file, that contains the schema for the vote_up_down.module

File

vote_up_down.install
View source
<?php

/**
 * @file
 * The .install file, that contains the schema for the vote_up_down.module
 */

/**
 * Implementation of hook_install().
 */
function vote_up_down_install() {
  drupal_install_schema('vote_up_down');
}

/**
 * Implementation of hook_schema().
 */
function vote_up_down_schema() {
  return array();
}

/**
 * Implementation of hook_uninstall().
 */
function vote_up_down_uninstall() {
  drupal_uninstall_schema('vote_up_down');
  variable_del('vote_up_down_node_types');
  variable_del('vote_up_down_widget_style_node');
  variable_del('vote_up_down_widget_node');
  variable_del('vote_up_down_link_node');
  variable_del('vote_up_down_widget_style_comment');
  variable_del('vote_up_down_widget_comment');
  variable_del('vote_up_down_link_comment');
  variable_del('vote_up_down_tag');
  variable_del('vote_up_down_anonymous_vote');
  variable_del('vote_up_down_reset_vote');
  variable_del('userpoints_vote_up_down');
  variable_del('userpoints_actions');
}

Functions

Namesort descending Description
vote_up_down_install Implementation of hook_install().
vote_up_down_schema Implementation of hook_schema().
vote_up_down_uninstall Implementation of hook_uninstall().