just use feed publisher on feed_entry

This commit is contained in:
aynsix
2021-12-03 16:20:57 +03:00
parent 10ac663f87
commit e591125e83

View File

@@ -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()) ) {