Changeset View
Changeset View
Standalone View
Standalone View
src/workflow/ArcanistWorkflow.php
| Show First 20 Lines • Show All 1,579 Lines • ▼ Show 20 Lines | /* -( Scratch Files )------------------------------------------------------ */ | ||||
| } | } | ||||
| final protected function resolveCall(ConduitFuture $method, $timeout = null) { | final protected function resolveCall(ConduitFuture $method, $timeout = null) { | ||||
| try { | try { | ||||
| return $method->resolve($timeout); | return $method->resolve($timeout); | ||||
| } catch (ConduitClientException $ex) { | } catch (ConduitClientException $ex) { | ||||
| if ($ex->getErrorCode() == 'ERR-CONDUIT-CALL') { | if ($ex->getErrorCode() == 'ERR-CONDUIT-CALL') { | ||||
| echo phutil_console_wrap( | echo phutil_console_wrap( | ||||
| "%s\n\n", | |||||
| pht( | pht( | ||||
| 'This feature requires a newer version of Phabricator. Please '. | 'This feature requires a newer version of Phabricator. Please '. | ||||
| 'update it using these instructions: %s', | 'update it using these instructions: %s', | ||||
| 'https://secure.phabricator.com/book/phabricator/article/'. | 'https://secure.phabricator.com/book/phabricator/article/'. | ||||
| 'upgrading/')); | 'upgrading/')."\n\n"); | ||||
| } | } | ||||
| throw $ex; | throw $ex; | ||||
| } | } | ||||
| } | } | ||||
| final protected function dispatchEvent($type, array $data) { | final protected function dispatchEvent($type, array $data) { | ||||
| $data += array( | $data += array( | ||||
| 'workflow' => $this, | 'workflow' => $this, | ||||
| ▲ Show 20 Lines • Show All 408 Lines • Show Last 20 Lines | |||||