Loading module/Oscar/src/Oscar/Entity/NotificationRepository.php +1 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,7 @@ class NotificationRepository extends EntityRepository foreach ($this->getNotificationsActivity($activityId) as $notification) { $this->getEntityManager()->remove($notification); } $this->getEntityManager()->flush(); } public function purgeAll() Loading module/Oscar/src/Oscar/Service/NotificationService.php +1 −0 Original line number Diff line number Diff line Loading @@ -872,6 +872,7 @@ class NotificationService implements UseServiceContainer } } /** * @param $personId * @return array Loading Loading
module/Oscar/src/Oscar/Entity/NotificationRepository.php +1 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,7 @@ class NotificationRepository extends EntityRepository foreach ($this->getNotificationsActivity($activityId) as $notification) { $this->getEntityManager()->remove($notification); } $this->getEntityManager()->flush(); } public function purgeAll() Loading
module/Oscar/src/Oscar/Service/NotificationService.php +1 −0 Original line number Diff line number Diff line Loading @@ -872,6 +872,7 @@ class NotificationService implements UseServiceContainer } } /** * @param $personId * @return array Loading