1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 10:42:41 +01:00

Allow querying PHIDs with GET

Summary: I want to link this page from outside.

Test Plan: /phid/?phids=PHID-USER-gsraq7yc66r4stl4c6u3

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3060
This commit is contained in:
vrana 2012-07-24 15:04:28 -07:00
parent 7ffe802671
commit 1b3da47fb0

View file

@ -22,7 +22,6 @@ final class PhabricatorPHIDLookupController
public function processRequest() { public function processRequest() {
$request = $this->getRequest(); $request = $this->getRequest();
if ($request->isFormPost()) {
$phids = $request->getStrList('phids'); $phids = $request->getStrList('phids');
if ($phids) { if ($phids) {
$handles = id(new PhabricatorObjectHandleData($phids)) $handles = id(new PhabricatorObjectHandleData($phids))
@ -75,7 +74,6 @@ final class PhabricatorPHIDLookupController
'title' => 'PHID Lookup Results', 'title' => 'PHID Lookup Results',
)); ));
} }
}
$lookup_form = new AphrontFormView(); $lookup_form = new AphrontFormView();
$lookup_form->setUser($request->getUser()); $lookup_form->setUser($request->getUser());