Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F113265531
ManiphestClaimEmailCommand.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, May 16, 17:52
Size
557 B
Mime Type
text/x-php
Expires
Sun, May 18, 17:52 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26179066
Attached To
rPH Phabricator
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
;
}
}
Event Timeline
Log In to Comment