From 4064789ee129809f9c8c681b93db64ca6e1b5062 Mon Sep 17 00:00:00 2001 From: Dwayne McDaniel <1dwayne.mcdaniel@gmail.com> Date: Wed, 4 Oct 2017 12:06:50 -0700 Subject: [PATCH] Adding a cache clear step Needed do Drush will read the DB and not from cache. --- db_sanitization/db_sanitization_drupal.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db_sanitization/db_sanitization_drupal.php b/db_sanitization/db_sanitization_drupal.php index cad4b75..63506ce 100644 --- a/db_sanitization/db_sanitization_drupal.php +++ b/db_sanitization/db_sanitization_drupal.php @@ -7,4 +7,6 @@ echo "Sanitizing the database...\n"; passthru('drush sql-sanitize -y'); echo "Database sanitization complete.\n"; + echo "Clearing the caches \n"; + passthru('drush cache-clear'); }