You are here

function custompage_flushcache in Custom Page 6

Same name and namespace in other branches
  1. 7 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 131
Custom Page Module

Code

function custompage_flushcache() {
  drupal_flush_all_caches();
  drupal_set_message('Cache cleared.');
  drupal_goto($_SERVER['HTTP_REFERER']);
}