You are here

conditional_styles.install in Conditional Stylesheets 6

Same filename and directory in other branches
  1. 7.2 conditional_styles.install

Provides install, upgrade and un-install functions for conditional_styles.

File

conditional_styles.install
View source
<?php

/**
 * @file
 * Provides install, upgrade and un-install functions for conditional_styles.
 */

/**
 * Implements hook_uninstall().
 */
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();
}

Functions