function ad_cache_file_force_flush in Advertisement 7
Same name and namespace in other branches
- 6.3 cache/file/ad_cache_file.module \ad_cache_file_force_flush()
- 6.2 cache/file/ad_cache_file.module \ad_cache_file_force_flush()
1 call to ad_cache_file_force_flush()
- ad_cache_file_flush_caches in cache/
file/ ad_cache_file.module
1 string reference to 'ad_cache_file_force_flush'
- ad_cache_file_adcacheapi in cache/
file/ ad_cache_file.module - Implementation of hook_adcacheapi().
File
- cache/
file/ ad_cache_file.module, line 113 - A plug in for the ad.module, providing a file cache mechanism for improved performance when displaying ads.
Code
function ad_cache_file_force_flush() {
ad_cache_file_build();
if (user_access('administer advertisements')) {
drupal_set_message(t('Ad module file-cached data has been flushed to the database.'));
}
}