You are here

r4032login.install in Redirect 403 to User Login 6

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

File

r4032login.install
View source
<?php

/**
 * Implementation of hook_enable().
 */
function r4032login_enable() {
  variable_set('site_403', 'r4032login');
}

/**
 * Implementation of hook_disable().
 */
function r4032login_disable() {
  variable_del('site_403');
}

/**
 * Implementation of hook_uninstall().
 */
function r4032login_uninstall() {
  variable_del('r4032login_display_denied_message');
  variable_del('r4032login_user_register_message');
  variable_del('r4032login_redirect_authenticated_users_to');
  variable_del('r4032login_user_login_path');
  variable_del('r4032login_default_redirect_code');
  variable_del('r4032login_match_noredirect_pages');
}

Functions

Namesort descending Description
r4032login_disable Implementation of hook_disable().
r4032login_enable Implementation of hook_enable().
r4032login_uninstall Implementation of hook_uninstall().