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

Fix an issue with handling of null feed URIs

Summary: Ref T8658. Caught this in the logs. This value may be set to `null`. Handle that gracefully.

Test Plan: Will check logs.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8658

Differential Revision: https://secure.phabricator.com/D13432
This commit is contained in:
epriestley 2015-06-25 10:01:24 -07:00
parent 8b9428b6da
commit 1192f309b0

View file

@ -6,6 +6,8 @@ final class FeedPublisherWorker extends FeedPushWorker {
$story = $this->loadFeedStory();
$uris = PhabricatorEnv::getEnvConfig('feed.http-hooks');
if ($uris) {
foreach ($uris as $uri) {
$this->queueTask(
'FeedPublisherHTTPWorker',
@ -14,6 +16,7 @@ final class FeedPublisherWorker extends FeedPushWorker {
'uri' => $uri,
));
}
}
$argv = array(
array(),