You are here

session_limit.install in Session Limit 7.2

Contains install and update functions for Session Limit.

File

session_limit.install
View source
<?php

/**
 * @file
 * Contains install and update functions for Session Limit.
 */

/**
 * Implements hook_uninstall().
 */
function session_limit_uninstall() {
  variable_del('session_limit_max');
  variable_del('session_limit_behaviour');
  variable_del('session_limit_masquerade_ignore');
  variable_del('session_limit_logged_out_message_severity');
  variable_del('session_limit_logged_out_message');
  variable_del('session_limit_include_root_user');
  db_query("DELETE FROM {variable} WHERE name LIKE 'session_limit_rid_%'");
}

Functions

Namesort descending Description
session_limit_uninstall Implements hook_uninstall().