Same name in other branches
  1. 7.x-2.x advagg.install \advagg_disable()

Implements hook_disable().

Fichier

./advagg.install, line 36

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);
    }
}