Page MenuHomePhorge

ManiphestCloseEmailCommand.php
No OneTemporary

Size
585 B
Referenced Files
None
Subscribers
None

ManiphestCloseEmailCommand.php

<?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;
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, May 5, 8:41 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70997
Default Alt Text
ManiphestCloseEmailCommand.php (585 B)

Event Timeline