Same name in other branches
- 8.x-2.x advagg.drush.inc \drush_advagg_clear_db_cache()
Callback function for drush advagg-clear-db-cache.
Callback is called by using drush_hook_command() where hook is the name of the module (advagg) and command is the name of the Drush command with all "-" characters converted to "_" characters.
2 calls to drush_advagg_clear_db_cache()
- drush_advagg_clear_all_files dans ./
advagg.drush.inc - Callback function for drush advagg-clear-all-files.
- drush_advagg_force_new_aggregates dans ./
advagg.drush.inc - Callback function for drush advagg-force-new-aggregates.
Fichier
-
./
advagg.drush.inc, line 126
Code
function drush_advagg_clear_db_cache() {
// Run the command.
module_load_include('inc', 'advagg', 'advagg.cache');
advagg_flush_all_cache_bins();
// Report back the results.
drush_log(dt('All AdvAgg cache bins have been cleared.'), 'ok');
}