diff --git a/src/applications/repository/storage/PhabricatorRepositoryArcanistProject.php b/src/applications/repository/storage/PhabricatorRepositoryArcanistProject.php index 444cb10c4a..aca35ff3ab 100644 --- a/src/applications/repository/storage/PhabricatorRepositoryArcanistProject.php +++ b/src/applications/repository/storage/PhabricatorRepositoryArcanistProject.php @@ -5,7 +5,8 @@ */ final class PhabricatorRepositoryArcanistProject extends PhabricatorRepositoryDAO - implements PhabricatorPolicyInterface { + implements PhabricatorPolicyInterface, + PhabricatorDestructableInterface { protected $name; protected $repositoryID; @@ -90,4 +91,15 @@ final class PhabricatorRepositoryArcanistProject return null; } + +/* -( PhabricatorDestructableInterface )----------------------------------- */ + + public function destroyObjectPermanently( + PhabricatorDestructionEngine $engine) { + + $this->openTransaction(); + $this->delete(); + $this->saveTransaction(); + } + }