You are here

vud_comment.install in Vote Up/Down 6.3

Same filename and directory in other branches
  1. 6.2 vud_comment/vud_comment.install
  2. 7 vud_comment/vud_comment.install

Install, update and uninstall functions for the Vote Up/Down Comment module.

File

vud_comment/vud_comment.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the Vote Up/Down Comment module.
 */

/**
 * Implementation of hook_install().
 */
function vud_comment_install() {
  drupal_install_schema('vud_comment');
}

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

/**
 * Implementation of hook_uninstall().
 */
function vud_comment_uninstall() {
  drupal_uninstall_schema('vud_comment');
  variable_del('vud_comment_node_types');
  variable_del('vud_comment_widget');
  variable_del('vud_comment_widget_display');
  variable_del('vud_comment_votes');
  variable_del('vud_comment_reset');
}

Functions

Namesort descending Description
vud_comment_install Implementation of hook_install().
vud_comment_schema Implementation of hook_schema().
vud_comment_uninstall Implementation of hook_uninstall().