Remove ManiphestTransactionType

Summary: These constants have moved to ManiphestTransaction. The other method only has one plausible callsite, just inline it.

Test Plan: Used Maniphest.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7113
This commit is contained in:
epriestley
2013-09-25 11:16:43 -07:00
parent b16a390509
commit bb4bf01bdc
14 changed files with 98 additions and 123 deletions

View File

@@ -176,7 +176,7 @@ final class PhabricatorSearchAttachController
$target->getOwnerPHID());
$close_task = id(new ManiphestTransaction())
->setTransactionType(ManiphestTransactionType::TYPE_STATUS)
->setTransactionType(ManiphestTransaction::TYPE_STATUS)
->setNewValue(ManiphestTaskStatus::STATUS_CLOSED_DUPLICATE);
$merge_comment = id(new ManiphestTransaction())
@@ -201,7 +201,7 @@ final class PhabricatorSearchAttachController
$task_names = implode(', ', $task_names);
$add_ccs = id(new ManiphestTransaction())
->setTransactionType(ManiphestTransactionType::TYPE_CCS)
->setTransactionType(ManiphestTransaction::TYPE_CCS)
->setNewValue($all_ccs);
$merged_comment = id(new ManiphestTransaction())