From 73a5b9bc75d40a30e7c9674b292957657ac01f63 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 09:51:15 -0400 Subject: Make user notifications pluggable --- app/Helper/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Helper') diff --git a/app/Helper/User.php b/app/Helper/User.php index dc394738..9cd39bd9 100644 --- a/app/Helper/User.php +++ b/app/Helper/User.php @@ -18,7 +18,7 @@ class User extends \Kanboard\Core\Base */ public function hasNotifications() { - return $this->webNotification->hasNotifications($this->userSession->getId()); + return $this->userUnreadNotification->hasNotifications($this->userSession->getId()); } /** -- cgit v1.2.3