diff --git a/application/Espo/Core/Notificators/DefaultNotificator.php b/application/Espo/Core/Notificators/DefaultNotificator.php index cfa3dfba45..550b22f396 100644 --- a/application/Espo/Core/Notificators/DefaultNotificator.php +++ b/application/Espo/Core/Notificators/DefaultNotificator.php @@ -123,4 +123,13 @@ protected function isNotificationsEnabledForUser(string $userId) : bool return $this->userIdEnabledMap[$userId]; } + + /** + * For backward compatibility. + * @todo Remove. + */ + protected function getEntityManager() + { + return $this->entityManager; + } }