You are here

user_delete.install in User Delete 6.2

Same filename and directory in other branches
  1. 5 user_delete.install
  2. 6 user_delete.install

User delete - Installation routines

File

user_delete.install
View source
<?php

/**
 * @file
 * User delete - Installation routines
 *
 */

/**
 * Implementation of hook_install().
 */
function user_delete_install() {
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      db_query("UPDATE {system} SET weight=-1 WHERE name='user_delete'");
      break;
    case 'pgsql':
      db_query("UPDATE {system} SET weight=-1 WHERE name='user_delete'");
      break;
  }
}

/**
 * Implementation of hook_uninstall().
 * @TODO: Not yet implemented.
 */
function user_delete_uninstall() {
}

Functions

Namesort descending Description
user_delete_install Implementation of hook_install().
user_delete_uninstall Implementation of hook_uninstall(). @TODO: Not yet implemented.