From 772804add8095eea9b3ec2a832c2f82fbb9a6fd5 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 31 Dec 2014 12:37:15 -0500 Subject: Acl refactoring --- app/Model/Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model/Notification.php') diff --git a/app/Model/Notification.php b/app/Model/Notification.php index 99db78ad..8c13aada 100644 --- a/app/Model/Notification.php +++ b/app/Model/Notification.php @@ -66,7 +66,7 @@ class Notification extends Base { // Exclude the connected user if (Session::isOpen()) { - $exclude_users[] = $this->acl->getUserId(); + $exclude_users[] = $this->userSession->getId(); } $users = $this->getUsersWithNotification($project_id, $exclude_users); -- cgit v1.2.3