mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
fix cs and add EntityToIdTransformer
This commit is contained in:
@@ -35,7 +35,6 @@ class RemoteCalendarCompilerPass implements CompilerPassInterface
|
||||
|
||||
if ($config['remote_calendars_sync']['microsoft_graph']['enabled']) {
|
||||
$connector = MSGraphRemoteCalendarConnector::class;
|
||||
|
||||
} else {
|
||||
// remove services which cannot be loaded
|
||||
$container->removeDefinition(MapUserCalendarCommand::class);
|
||||
@@ -47,7 +46,6 @@ class RemoteCalendarCompilerPass implements CompilerPassInterface
|
||||
$container->setAlias(Azure::class, 'knpu.oauth2.provider.azure');
|
||||
}
|
||||
|
||||
|
||||
if (null === $connector) {
|
||||
throw new RuntimeException('Could not configure remote calendar');
|
||||
}
|
||||
|
Reference in New Issue
Block a user