Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F456704
ManiphestClaimEmailCommand.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
557 B
Referenced Files
None
Subscribers
None
ManiphestClaimEmailCommand.php
View Options
<?php
final
class
ManiphestClaimEmailCommand
extends
ManiphestEmailCommand
{
public
function
getCommand
()
{
return
'claim'
;
}
public
function
buildTransactions
(
PhabricatorUser
$viewer
,
PhabricatorApplicationTransactionInterface
$object
,
PhabricatorMetaMTAReceivedMail
$mail
,
$command
,
array
$argv
)
{
$xactions
=
array
();
$xactions
[]
=
$object
->
getApplicationTransactionTemplate
()
->
setTransactionType
(
ManiphestTransaction
::
TYPE_OWNER
)
->
setNewValue
(
$viewer
->
getPHID
());
return
$xactions
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 8:41 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71000
Default Alt Text
ManiphestClaimEmailCommand.php (557 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment