function custompage_flushcache in Custom Page 7
Same name and namespace in other branches
- 6 custompage.module \custompage_flushcache()
Flush caches.
1 string reference to 'custompage_flushcache'
- custompage_menu in ./
custompage.module - Implementation of hook_menu().
File
- ./
custompage.module, line 145 - Custom Page Module
Code
function custompage_flushcache() {
drupal_flush_all_caches();
drupal_set_message('Cache cleared.');
drupal_goto($_SERVER['HTTP_REFERER']);
}