You are here

function front_page_uninstall in Front Page 7.2

Same name and namespace in other branches
  1. 6.2 front_page.install \front_page_uninstall()
  2. 7 front_page.install \front_page_uninstall()

Implements hook_uninstall().

File

./front_page.install, line 18
Install, update and uninstall functions for the front page module.

Code

function front_page_uninstall() {
  variable_del('front_page_enable');
  foreach (user_roles() as $rid => $role) {
    variable_del("front_page_role_{$rid}");
  }
}