Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistPasteWorkflow.php
| Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | public function runWorkflow() { | ||||
| $log = $this->getLogEngine(); | $log = $this->getLogEngine(); | ||||
| $log->writeSuccess( | $log->writeSuccess( | ||||
| pht('DONE'), | pht('DONE'), | ||||
| pht('Created a new paste.')); | pht('Created a new paste.')); | ||||
| echo tsprintf( | echo tsprintf( | ||||
| '%s', | '%s', | ||||
| $paste_ref->newDisplayRef() | $paste_ref->newRefView() | ||||
| ->setURI($uri)); | ->setURI($uri)); | ||||
| if ($is_browse) { | if ($is_browse) { | ||||
| $this->openURIsInBrowser(array($uri)); | $this->openURIsInBrowser(array($uri)); | ||||
| } | } | ||||
| return 0; | return 0; | ||||
| } | } | ||||
| } | } | ||||