javascript_aggregator.install in Javascript Aggregator 5
Same filename and directory in other branches
Install/Uninstall hooks for the JavaScript Aggregator module.
File
javascript_aggregator.installView source
<?php
/**
* @file
* Install/Uninstall hooks for the JavaScript Aggregator module.
*/
/**
* Implementation of hook_uninstall().
*/
function javascript_aggregator_uninstall() {
// Clear the cached JavaScript.
file_scan_directory(file_create_path('js'), '.*', array(
'.',
'..',
'CVS',
), 'file_delete', TRUE);
// Delete the variables.
variable_del('javascript_aggregator_aggregate_js');
variable_del('javascript_aggregator_optimize_js');
variable_del('javascript_aggregator_exclude_js');
variable_del('javascript_aggregator_jsmin');
variable_del('javascript_aggregator_gzip');
}
Functions
Name | Description |
---|---|
javascript_aggregator_uninstall | Implementation of hook_uninstall(). |