Logo Search packages:      
Sourcecode: aegir-provision version File versions  Download package

drush_provision_drupal_provision_install_rollback ( url  ) 

If the install went south, and the site is not PROVISION_SITE_INSTALLED, clean up behind ourselves

Definition at line 52 of file install.provision.inc.

References _provision_recursive_delete().

                                                                 {
  if (!drush_cmp_error('PROVISION_SITE_INSTALLED')) {
    if ($url) {
      _provision_recursive_delete("sites/$url");
    } else {
      drush_set_error('PROVISION_FRAMEWORK_ERROR', dt('no url defined in %function', array('%function' => __FUNCTION__)));
    }
  }
}


Generated by  Doxygen 1.6.0   Back to index