1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00

Minor, fix a method call in deprecated paste.info.

This commit is contained in:
epriestley 2012-08-27 11:24:58 -07:00
parent 1d72cde41f
commit 6c5a23d85c

View file

@ -53,7 +53,7 @@ final class ConduitAPI_paste_info_Method extends ConduitAPI_paste_Method {
$paste_id = $request->getValue('paste_id');
$paste = id(new PhabricatorPasteQuery())
->setViewer($request->getUser())
->withObjectIDs(array($paste_id))
->withIDs(array($paste_id))
->needContent(true)
->executeOne();
if (!$paste) {