Use Application PHIDs in Maniphest
Summary: Ref T2715. Switch Maniphest to the new stuff. Test Plan: Used `phid.query`; `phid.lookup` to load objects. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2715 Differential Revision: https://secure.phabricator.com/D6516
This commit is contained in:
@@ -67,7 +67,7 @@ final class PhabricatorSearchSelectController
|
||||
|
||||
$pattern = null;
|
||||
switch ($this->type) {
|
||||
case PhabricatorPHIDConstants::PHID_TYPE_TASK:
|
||||
case ManiphestPHIDTypeTask::TYPECONST:
|
||||
$pattern = '/\bT(\d+)\b/i';
|
||||
break;
|
||||
case DifferentialPHIDTypeRevision::TYPECONST:
|
||||
@@ -99,7 +99,7 @@ final class PhabricatorSearchSelectController
|
||||
'id IN (%Ld)',
|
||||
$object_ids);
|
||||
break;
|
||||
case PhabricatorPHIDConstants::PHID_TYPE_TASK:
|
||||
case ManiphestPHIDTypeTask::TYPECONST:
|
||||
$objects = id(new ManiphestTask())->loadAllWhere(
|
||||
'id IN (%Ld)',
|
||||
$object_ids);
|
||||
|
||||
Reference in New Issue
Block a user