Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15406677
D9350.id22264.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
870 B
Referenced Files
None
Subscribers
None
D9350.id22264.diff
View Options
diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php
--- a/src/applications/repository/storage/PhabricatorRepository.php
+++ b/src/applications/repository/storage/PhabricatorRepository.php
@@ -7,7 +7,8 @@
implements
PhabricatorPolicyInterface,
PhabricatorFlaggableInterface,
- PhabricatorMarkupInterface {
+ PhabricatorMarkupInterface,
+ PhabricatorDestructableInterface {
/**
* Shortest hash we'll recognize in raw "a829f32" form.
@@ -1322,4 +1323,15 @@
return true;
}
+
+/* -( PhabricatorDestructableInterface )----------------------------------- */
+
+ public function destroyObjectPermanently(
+ PhabricatorDestructionEngine $engine) {
+
+ $this->openTransaction();
+ $this->delete();
+ $this->saveTransaction();
+ }
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 19, 1:15 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7711389
Default Alt Text
D9350.id22264.diff (870 B)
Attached To
Mode
D9350: Allow repositories to be deleted using `./bin/remove`.
Attached
Detach File
Event Timeline
Log In to Comment