Posted By

batandwacolani on 12/14/11


php drupal6

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Drupal 6 Clear Cache on Page

 / Published in: PHP

Clear site cache and redirect back to referring page. Courtesy of this forum post:

  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.