readonlymode.install in Read only mode 6
Same filename and directory in other branches
Update hook and uninstaller for the Read Only Mode module
File
readonlymode.installView source
<?php
/**
* @file
* Update hook and uninstaller for the Read Only Mode module
*/
function readonlymode_uninstall() {
variable_del('site_readonly');
variable_del('site_readonly_message');
variable_del('site_readonly_url');
}
/**
* Delete old variables
*/
function readonlymode_update_6000() {
$ret = array();
variable_del('readonlymode');
variable_del('readonlymode_path');
return $ret;
}
Functions
Name | Description |
---|---|
readonlymode_uninstall | @file Update hook and uninstaller for the Read Only Mode module |
readonlymode_update_6000 | Delete old variables |