Commit db0f25fb authored by anarcat's avatar anarcat Committed by anarcat

remove last occurence of provision_get_error(), replace by

drush_get_error()
parent d4b55325
...@@ -44,7 +44,7 @@ function provision_drupal_provision_install(&$data, $url = NULL) { ...@@ -44,7 +44,7 @@ function provision_drupal_provision_install(&$data, $url = NULL) {
* If the install went south, and the site is not PROVISION_SITE_INSTALLED, clean up behind ourselves * If the install went south, and the site is not PROVISION_SITE_INSTALLED, clean up behind ourselves
*/ */
function provision_drupal_provision_install_rollback(&$data, $url = NULL) { function provision_drupal_provision_install_rollback(&$data, $url = NULL) {
if (!(provision_get_error() & PROVISION_SITE_INSTALLED)) { if (!(drush_get_error() & PROVISION_SITE_INSTALLED)) {
_provision_recursive_delete("sites/$url"); _provision_recursive_delete("sites/$url");
} }
} }
......
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