Changeset View
Changeset View
Standalone View
Standalone View
src/applications/doorkeeper/worker/DoorkeeperFeedWorker.php
Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | /* -( Inherited )---------------------------------------------------------- */ | ||||
/** | /** | ||||
* Doorkeeper workers set up some context, then call | * Doorkeeper workers set up some context, then call | ||||
* @{method:publishFeedStory}. | * @{method:publishFeedStory}. | ||||
*/ | */ | ||||
final protected function doWork() { | final protected function doWork() { | ||||
if (PhabricatorEnv::getEnvConfig('phabricator.silent')) { | if (PhabricatorEnv::getEnvConfig('phabricator.silent')) { | ||||
$this->log("%s\n", pht('Phabricator is running in silent mode.')); | $this->log("%s\n", pht('This software is running in silent mode.')); | ||||
return; | return; | ||||
} | } | ||||
if (!$this->isEnabled()) { | if (!$this->isEnabled()) { | ||||
$this->log( | $this->log( | ||||
"%s\n", | "%s\n", | ||||
pht("Doorkeeper worker '%s' is not enabled.", get_class($this))); | pht("Doorkeeper worker '%s' is not enabled.", get_class($this))); | ||||
return; | return; | ||||
Show All 34 Lines |