Summary: paste.info is deprecated; switch to using paste.query
Test Plan:
arc paste P123
arc paste P123 --json
Reviewers: epriestley, vrana
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3402
$conduit = $this->getConduit();
$info = $conduit->callMethodSynchronous(
- 'paste.info',
+ 'paste.query',
array(
- 'paste_id' => $this->id,
+ 'ids' => array($this->id),
));
+ $info = head($info);
if ($this->getJSON()) {
echo json_encode($info)."\n";