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



function drush_provision_drupal_provision_delete_validate($url = NULL, $backup_file = NULL) {

 * Before starting to delete the site, make a backup
function drush_provision_drupal_pre_provision_delete($url, $backup_file = NULL) {
  drush_set_option('force', true, 'process');
  drush_invoke("provision backup", $url, $backup_file);
  drush_unset_option('force', 'process');

 * Remove any directories for the site in sites
 * This can't be rolled back. so won't even try.
function drush_provision_drupal_provision_delete($url) {
  _provision_recursive_delete(drush_get_option('sites_path') . "/$url");
  _provision_drupal_delete_aliases(drush_get_option('aliases', array()));
  drush_set_option('installed', FALSE, 'site');

Generated by  Doxygen 1.6.0   Back to index