Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15420765
D13432.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
828 B
Referenced Files
None
Subscribers
None
D13432.diff
View Options
diff --git a/src/applications/feed/worker/FeedPublisherWorker.php b/src/applications/feed/worker/FeedPublisherWorker.php
--- a/src/applications/feed/worker/FeedPublisherWorker.php
+++ b/src/applications/feed/worker/FeedPublisherWorker.php
@@ -6,13 +6,16 @@
$story = $this->loadFeedStory();
$uris = PhabricatorEnv::getEnvConfig('feed.http-hooks');
- foreach ($uris as $uri) {
- $this->queueTask(
- 'FeedPublisherHTTPWorker',
- array(
- 'key' => $story->getChronologicalKey(),
- 'uri' => $uri,
- ));
+
+ if ($uris) {
+ foreach ($uris as $uri) {
+ $this->queueTask(
+ 'FeedPublisherHTTPWorker',
+ array(
+ 'key' => $story->getChronologicalKey(),
+ 'uri' => $uri,
+ ));
+ }
}
$argv = array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 22 2025, 4:59 PM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7576270
Default Alt Text
D13432.diff (828 B)
Attached To
Mode
D13432: Fix an issue with handling of `null` feed URIs
Attached
Detach File
Event Timeline
Log In to Comment