mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
just use feed publisher on feed_entry
This commit is contained in:
@@ -395,8 +395,6 @@ class WebhookWorker implements WorkerInterface
|
||||
];
|
||||
|
||||
if ($webhookEvent->getType() === WebhookEvent::FEED_ENTRY_TYPE) {
|
||||
|
||||
if ($creatorACL->has_right(\ACL::BAS_CHUPUB)) {
|
||||
$data = $webhookEvent->getData();
|
||||
if (isset($data['entry_id'])) {
|
||||
/** @var FeedEntry $feedEntry */
|
||||
@@ -406,7 +404,6 @@ class WebhookWorker implements WorkerInterface
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// for user created and phantom user deleted
|
||||
if (empty($baseIds) && $webhookEvent->getType() === WebhookEvent::USER_TYPE && empty($webhookEvent->getCollectionBaseIds()) ) {
|
||||
|
Reference in New Issue
Block a user