function splashify_uninstall in Splashify 6
Same name and namespace in other branches
- 7 splashify.install \splashify_uninstall()
Implements hook_uninstall().
Deletes all of the variables this module creates via variable_set().
File
- ./
splashify.install, line 57
Code
function splashify_uninstall() {
// Desktop variables.
variable_del('splashify_when_desktop_frequency');
variable_del('splashify_where_desktop_page');
variable_del('splashify_where_desktop_listpages');
variable_del('splashify_what_desktop_mode');
variable_del('splashify_what_desktop_content');
variable_del('splashify_what_desktop_pagetitle');
variable_del('splashify_how_desktop_mode');
variable_del('splashify_how_desktop_size');
// Mobile variables.
variable_del('splashify_when_mobile');
variable_del('splashify_when_mobile_test');
variable_del('splashify_when_mobile_frequency');
variable_del('splashify_where_mobile_page');
variable_del('splashify_where_mobile_listpages');
variable_del('splashify_what_mobile_mode');
variable_del('splashify_what_mobile_content');
variable_del('splashify_what_mobile_pagetitle');
variable_del('splashify_how_mobile_mode');
}