Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F548464
PhabricatorMailPropertiesDestructionEngineExtension.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
636 B
Referenced Files
None
Subscribers
None
PhabricatorMailPropertiesDestructionEngineExtension.php
View Options
<?php
final
class
PhabricatorMailPropertiesDestructionEngineExtension
extends
PhabricatorDestructionEngineExtension
{
const
EXTENSIONKEY
=
'mail.properties'
;
public
function
getExtensionName
()
{
return
pht
(
'Mail Properties'
);
}
public
function
destroyObject
(
PhabricatorDestructionEngine
$engine
,
$object
)
{
$object_phid
=
$object
->
getPHID
();
$viewer
=
$engine
->
getViewer
();
$properties
=
id
(
new
PhabricatorMetaMTAMailPropertiesQuery
())
->
setViewer
(
$viewer
)
->
withObjectPHIDs
(
array
(
$object_phid
))
->
executeOne
();
if
(
$properties
)
{
$properties
->
delete
();
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:49 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
105288
Default Alt Text
PhabricatorMailPropertiesDestructionEngineExtension.php (636 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment