Posted By

batandwacolani on 12/14/11


Tagged

php drupal6


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

zack


Drupal 6 Clear Cache on Page


 / Published in: PHP
 

Clear site cache and redirect back to referring page. Courtesy of this forum post: http://drupal.org/node/152983#comment-2973618

  1. drupal_flush_all_caches();
  2. drupal_set_message('Caches flushed.');
  3. drupal_goto(referer_uri());

Report this snippet  

You need to login to post a comment.