You are here

uif.install in User Import Framework 6

Same filename and directory in other branches
  1. 7 uif.install

Simple, extensible user import from a CSV file.

File

uif.install
View source
<?php

/**
 * @file
 * Simple, extensible user import from a CSV file.
 */

/**
 * Implementation of hook_install().
 */
function uif_install() {
  drupal_set_message(st("User import framework module installed. You can now !link.", array(
    '!link' => l('import users', 'admin/user/uif'),
  )));
}

/**
 * Implementation of hook_uninstall().
 */
function uif_uninstall() {
  $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'uif_%'");
  while ($row = db_fetch_object($result)) {
    variable_del($row->name);
  }
  drupal_set_message(t('User import framework module has been uninstalled.'));
}

Functions

Namesort descending Description
uif_install Implementation of hook_install().
uif_uninstall Implementation of hook_uninstall().