You are here

userone.install in User One 6

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

File

userone.install
View source
<?php

/**
 * Implementation of hook_install().
 */
function userone_install() {
  drupal_set_message(t('Please visit !settings to create Use One login name.', array(
    '!settings' => l(t('admin/settings/userone'), 'admin/settings/userone'),
  )));
}

/**
 * Implementation of hook_uninstall().
 */
function userone_uninstall() {
  variable_del('userone_name');
  variable_del('userone_ip');
  variable_del('userone_edit_access');
  variable_del('userone_view_access');
}

Functions

Namesort descending Description
userone_install Implementation of hook_install().
userone_uninstall Implementation of hook_uninstall().