Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chrisns/1097128 to your computer and use it in GitHub Desktop.
Save chrisns/1097128 to your computer and use it in GitHub Desktop.
diff --git strongarm.drush.inc strongarm.drush.inc
new file mode 100644
index 0000000..bf90882
--- /dev/null
+++ strongarm.drush.inc
@@ -0,0 +1,6 @@
+<?php
+
+// insure a full bootstrap on update batch processes so strongarm can do initalize and set variables and anything else it needs to do
+function drush_strongarm_pre_updatedb_batch_process() {
+ drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_LOGIN);
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment