You are here

ajax_comments.install in AJAX Comments 6

Same filename and directory in other branches
  1. 5 ajax_comments.install
  2. 7 ajax_comments.install

Install, update, and uninstall functions for the ajax_comments module.

File

ajax_comments.install
View source
<?php

/**
 * @file
 * Install, update, and uninstall functions for the ajax_comments module.
 */

/**
 * Implementaton of hook_install
 */
function ajax_comments_install() {
  db_query("UPDATE {system} SET weight = 5 WHERE name = 'ajax_comments'");
}

/**
 * Implementaton of hook_uninstall
 */
function ajax_comments_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'ajax_comments_%%'");
  db_query("DELETE FROM {system} WHERE name = 'ajax_comments'");
}

Functions

Namesort descending Description
ajax_comments_install Implementaton of hook_install
ajax_comments_uninstall Implementaton of hook_uninstall