Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14370712
D9353.id22899.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
932 B
Referenced Files
None
Subscribers
None
D9353.id22899.diff
View Options
diff --git a/src/applications/repository/storage/PhabricatorRepositoryArcanistProject.php b/src/applications/repository/storage/PhabricatorRepositoryArcanistProject.php
--- 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 @@
return null;
}
+
+/* -( PhabricatorDestructableInterface )----------------------------------- */
+
+ public function destroyObjectPermanently(
+ PhabricatorDestructionEngine $engine) {
+
+ $this->openTransaction();
+ $this->delete();
+ $this->saveTransaction();
+ }
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 6:16 PM (14 h, 4 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6915186
Default Alt Text
D9353.id22899.diff (932 B)
Attached To
Mode
D9353: Allow Arcanist Projects to be deleted using `./bin/remove destroy`.
Attached
Detach File
Event Timeline
Log In to Comment