You are here

function conditional_styles_uninstall in Conditional Stylesheets 6

Implements hook_uninstall().

File

./conditional_styles.install, line 10
Provides install, upgrade and un-install functions for conditional_styles.

Code

function conditional_styles_uninstall() {

  // Delete conditional stylesheets variables.
  $themes = list_themes();
  foreach (array_keys($themes) as $theme) {
    variable_del('conditional_styles_' . $theme);
    variable_del('conditional_styles_' . $theme . '_rtl');
  }

  // Clear the page cache.
  cache_clear_all();
}