Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102220173
FeedPublisherWorker.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 18, 10:03
Size
417 B
Mime Type
text/x-php
Expires
Thu, Feb 20, 10:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24309498
Attached To
rPH Phabricator
FeedPublisherWorker.php
View Options
<?php
final
class
FeedPublisherWorker
extends
FeedPushWorker
{
protected
function
doWork
()
{
$story
=
$this
->
loadFeedStory
();
$uris
=
PhabricatorEnv
::
getEnvConfig
(
'feed.http-hooks'
);
foreach
(
$uris
as
$uri
)
{
PhabricatorWorker
::
scheduleTask
(
'FeedPublisherHTTPWorker'
,
array
(
'key'
=>
$story
->
getChronologicalKey
(),
'uri'
=>
$uri
,
));
}
}
}
Event Timeline
Log In to Comment