Commit 95ee9d15 authored by omega8cc's avatar omega8cc Committed by anarcat

Issue #1785624 by omega8cc - Some Drupal API changes in D7 (and D8) are not...

Issue #1785624 by omega8cc - Some Drupal API changes in D7 (and D8) are not used/respected properly (2).
parent 52f09247
<?php
// $Id$
/**
* @file
* Rebuild all the caches
*/
cache_clear_all();
drush_log(t('Cleared all caches'));
......
<?php
// $Id$
/**
* @file
* Rebuild all the caches
*/
cache_clear_all();
drush_log(t('Cleared all caches'));
node_types_rebuild();
drush_log(t('Rebuilt node type cache'));
module_rebuild_cache();
drush_log(t('Rebuilt module cache'));
drupal_rebuild_theme_registry();
system_theme_data();
drush_log(t('Rebuilt theme cache'));
menu_rebuild();
drush_log(t('Rebuilt menu cache'));
drupal_flush_all_caches();
drush_log(t('All caches flushed'));
<?php
// $Id$
/**
* @file
* Rebuild all the caches
*/
cache_clear_all();
drush_log(t('Cleared all caches'));
node_types_rebuild();
drush_log(t('Rebuilt node type cache'));
registry_rebuild();
drush_log(t('Rebuilt code registry'));
system_rebuild_theme_data();
drush_log(t('Rebuilt theme cache'));
menu_rebuild();
drush_log(t('Rebuilt menu cache'));
drupal_flush_all_caches();
drush_log(t('All caches flushed'));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment