function advagg_disable in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 7.2 advagg.install \advagg_disable()
- 7 advagg.install \advagg_disable()
Implementation of hook_disable().
File
- ./
advagg.install, line 36 - Handles Advanced Aggregation installation and upgrade tasks.
Code
function advagg_disable() {
// Make sure the advagg_flush_caches function is available.
drupal_load('module', 'advagg');
// Flush advagg caches.
$cache_tables = advagg_flush_caches();
foreach ($cache_tables as $table) {
cache_clear_all('*', $table, TRUE);
}
}