function _popup_ui_flush_all in Popup 7
Same name and namespace in other branches
- 8 modules/popup_ui/includes/popup_ui.util.inc \_popup_ui_flush_all()
- 7.x modules/popup_ui/includes/popup_ui.util.inc \_popup_ui_flush_all()
- 6.x modules/popup_ui/includes/popup_ui.util.inc \_popup_ui_flush_all()
Flush all cache tables
5 calls to _popup_ui_flush_all()
- popup_ui_delete_format in modules/
popup_ui/ includes/ popup_ui.admin.inc - popup_ui_enable in modules/
popup_ui/ popup_ui.module - Implementation of hook_enable
- popup_ui_form_formatters_submit in modules/
popup_ui/ includes/ popup_ui.admin.inc - popup_ui_reset in modules/
popup_ui/ includes/ popup_ui.admin.inc - popup_ui_whipe_formats in modules/
popup_ui/ includes/ popup_ui.admin.inc
File
- modules/
popup_ui/ includes/ popup_ui.util.inc, line 8
Code
function _popup_ui_flush_all() {
$core = array(
'cache',
'cache_block',
'cache_filter',
'cache_page',
);
$cache_tables = array_merge(module_invoke_all('flush_caches'), $core);
foreach ($cache_tables as $table) {
cache_clear_all('*', $table, TRUE);
}
}