You are here

function javascript_aggregator_uninstall in Javascript Aggregator 6

Same name and namespace in other branches
  1. 5 javascript_aggregator.install \javascript_aggregator_uninstall()

Implementation of hook_uninstall().

File

./javascript_aggregator.install, line 42
Install, update and uninstall functions for the javascript_aggregator module.

Code

function javascript_aggregator_uninstall() {
  $htaccess = file_directory_path() . '/js/.htaccess';
  file_delete($htaccess);
  variable_del('javascript_aggregator_gzip');
  variable_del('javascript_aggregator_no_htaccess');
  variable_del('javascript_aggregator_jsminplus');
  cache_clear_all();
}