Skip to content

Instantly share code, notes, and snippets.

@killes
Created November 27, 2017 17:06
Show Gist options
  • Save killes/1af9643b4bf6e08d7710e8de812eed85 to your computer and use it in GitHub Desktop.
Save killes/1af9643b4bf6e08d7710e8de812eed85 to your computer and use it in GitHub Desktop.
diff --git a/Task/Drush/LocaleUpdate.php b/Task/Drush/LocaleUpdate.php
index 78fb928..f5a3981 100644
--- a/Task/Drush/LocaleUpdate.php
+++ b/Task/Drush/LocaleUpdate.php
@@ -31,11 +31,7 @@ class LocaleUpdate extends DrushTask {
* Whether the task should be skipped or not?
*/
protected function skip() {
- // Only update translations outside of Acquia environments.
- // This is currently needed, because the installed Drush version at Acquia
- // does not support this command yet.
- // FIXME Make this command workin in Acquia environments.
- return Environment::isAcquia(Environment::detect()) || !Drupal::moduleEnabled('locale');
+ return FALSE;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment