mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Merge branch 'master' into PHRAS-3125_prod_basket_list_design
This commit is contained in:
@@ -54,6 +54,7 @@ class RecordSubscriber implements EventSubscriberInterface
|
||||
if (!$record->isStory()) {
|
||||
$subdefs = $record->getDatabox()->get_subdef_structure()->getSubdefGroup($record->getType());
|
||||
|
||||
if ($subdefs !== null) {
|
||||
foreach ($subdefs as $subdef) {
|
||||
$payload = [
|
||||
'message_type' => MessagePublisher::SUBDEF_CREATION_TYPE,
|
||||
@@ -69,6 +70,7 @@ class RecordSubscriber implements EventSubscriberInterface
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function onDelete(DeleteEvent $event)
|
||||
{
|
||||
|
Reference in New Issue
Block a user