You are here

function logintoboggan_disable in LoginToboggan 7

Implement hook_disable().

File

./logintoboggan.install, line 19
Install, update and uninstall functions for the logintoboggan module.

Code

function logintoboggan_disable() {

  // Clean up the custom access denied path if it's set.
  if (variable_get('site_403', '') == 'toboggan/denied') {
    variable_set('site_403', '');
  }
}