Logo Search packages:      
Sourcecode: aegir-provision version File versions  Download package

clear.inc

Go to the documentation of this file.
<?php
// $Id: clear.inc,v 1.1 2009/04/07 22:26:37 adrian Exp $
/**
 *  @file
 *    Rebuild all the caches
 */
cache_clear_all();
drush_log(t('Cleared all caches'));

node_types_rebuild();
drush_log(t('Rebuild node type cache'));

module_rebuild_cache();
drush_log(t('Rebuild module cache'));

system_theme_data();
drush_log(t('Rebuild theme cache'));

node_access_rebuild();
drush_log(t('Rebuild node access cache'));

menu_rebuild();
drush_log(t('Rebuild menu cache'));

Generated by  Doxygen 1.6.0   Back to index