mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
rename namespace for notification counter tag:
- The old way: chillMain.count_notification.user - The new way: chill.count_notification.user
This commit is contained in:
parent
9b4bf04c9c
commit
5c045abda4
@ -38,7 +38,7 @@ class NotificationCounterCompilerPass implements CompilerPassInterface
|
|||||||
|
|
||||||
$notificationCounterDefinition = $container->getDefinition(CountNotificationUser::class);
|
$notificationCounterDefinition = $container->getDefinition(CountNotificationUser::class);
|
||||||
|
|
||||||
foreach ($container->findTaggedServiceIds('chill_main.count_notification.user') as $id => $tags) {
|
foreach ($container->findTaggedServiceIds('chill.count_notification.user') as $id => $tags) {
|
||||||
$notificationCounterDefinition
|
$notificationCounterDefinition
|
||||||
->addMethodCall('addNotificationCounter', [new Reference($id)]);
|
->addMethodCall('addNotificationCounter', [new Reference($id)]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user