Parent Directory
|
Revision Log
|
Revision Graph
Added conditional_styles_uninstall().
| 1 | <?php |
| 2 | // $Id$ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * Provides install, upgrade and un-install functions for conditional_styles. |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * Implements hook_uninstall(). |
| 11 | */ |
| 12 | function conditional_styles_uninstall() { |
| 13 | // Delete conditional stylesheets variables. |
| 14 | $themes = list_themes(); |
| 15 | foreach (array_keys($themes) AS $theme) { |
| 16 | variable_del('conditional_styles_' . $theme); |
| 17 | } |
| 18 | // Clear the page cache. |
| 19 | cache_clear_all(); |
| 20 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |