Commit 0bf3fc93 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Fixed delete command

parent 1917196e
......@@ -26,6 +26,7 @@ function provision_drupal_provision_delete(&$data, $url) {
}
_provision_recursive_delete("sites/$url");
$data['installed'] = FALSE;
}
......@@ -32,7 +32,9 @@ function provision_drupal_provision_init(&$data, $url = NULL) {
*/
function provision_drupal_provision_finalize(&$data, $url = NULL) {
if (PROVISION_CONTEXT_SITE) {
provision_save_site_data($data, $url);
if ($data['installed']) {
provision_save_site_data($data, $url);
}
}
else {
_provision_generate_config();
......
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