summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarracuda Team2012-09-16 13:48:48 (GMT)
committerHerman van Rink2013-09-25 13:16:42 (GMT)
commit4be622dba91f2dc9f9073775236743f3cfafbc8c (patch)
tree476760080102d2766ffb1469273ae6a2d4bd2e9b
parentb9a7e774bf36eb0183972f446d3916d83da00207 (diff)
Do not use node_types_rebuild() in D8 clear - it breaks migrate task.
Conflicts: platform/drupal/clear_8.inc
-rw-r--r--platform/drupal/clear_8.inc22
1 files changed, 2 insertions, 20 deletions
diff --git a/platform/drupal/clear_8.inc b/platform/drupal/clear_8.inc
index c8001ce..dde1284 100644
--- a/platform/drupal/clear_8.inc
+++ b/platform/drupal/clear_8.inc
@@ -5,24 +5,6 @@
* Rebuild all the caches
*/
-node_types_rebuild(); // d5, d6, d7, d8
-drush_log(t('Rebuilt node types cache'));
+drupal_flush_all_caches();
+drush_log(t('All caches flushed'));
-drupal_flush_all_caches(); // d6, d7, d8
-drush_log(t('All caches cleared'));
-
-// Available in d6 and d7 only
-//cache_clear_all();
-//drush_log(t('Cleared all caches'));
-
-// Included in drupal_flush_all_caches()
-//registry_rebuild();
-//drush_log(t('Rebuilt code registry'));
-
-// Included in drupal_flush_all_caches()
-//system_rebuild_theme_data();
-//drush_log(t('Rebuilt theme cache'));
-
-// Available in d5, d6, d7 only
-//menu_rebuild();
-//drush_log(t('Rebuilt menu cache'));