Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98867357
ManiphestCloseEmailCommand.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 17, 01:47
Size
585 B
Mime Type
text/x-php
Expires
Sun, Jan 19, 01:47 (2 d)
Engine
blob
Format
Raw Data
Handle
23656841
Attached To
rPH Phabricator
ManiphestCloseEmailCommand.php
View Options
<?php
final
class
ManiphestCloseEmailCommand
extends
ManiphestEmailCommand
{
public
function
getCommand
()
{
return
'close'
;
}
public
function
buildTransactions
(
PhabricatorUser
$viewer
,
PhabricatorApplicationTransactionInterface
$object
,
PhabricatorMetaMTAReceivedMail
$mail
,
$command
,
array
$argv
)
{
$xactions
=
array
();
$xactions
[]
=
$object
->
getApplicationTransactionTemplate
()
->
setTransactionType
(
ManiphestTransaction
::
TYPE_STATUS
)
->
setNewValue
(
ManiphestTaskStatus
::
getDefaultClosedStatus
());
return
$xactions
;
}
}
Event Timeline
Log In to Comment