You are here

function drd_server_admin_flush_cache in Drupal Remote Dashboard Server 7

1 string reference to 'drd_server_admin_flush_cache'
drd_server_menu in ./drd_server.module
Implements hook_menu().

File

./drd_server.admin.inc, line 39

Code

function drd_server_admin_flush_cache() {
  drupal_flush_all_caches();
  drupal_set_message(t('Caches cleared.'));
  drupal_goto($_SERVER['HTTP_REFERER']);
}