function drush_platform_git_post_provision_delete in Aegir Deploy 7.3
Implements drush_HOOK_post_COMMAND() for provision-delete command.
If repository path is different from root, delete it too.
File
- modules/
platform_git/ drush/ platform_git.drush.inc, line 34 - Provision/Drush hooks for git commands.
Code
function drush_platform_git_post_provision_delete() {
if (d()->type == 'platform') {
$platform = new Provision_PlatformGit();
return $platform
->postProvisionDelete();
}
}