summaryrefslogtreecommitdiff
path: root/app/Helper/User.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-17 09:51:15 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-17 09:51:15 -0400
commit73a5b9bc75d40a30e7c9674b292957657ac01f63 (patch)
treeff5bb8a90452a2ff1351c192575e5d241a8b4417 /app/Helper/User.php
parent98b203fe691ec1ea9d6d19e916827185b575b05a (diff)
Make user notifications pluggable
Diffstat (limited to 'app/Helper/User.php')
-rw-r--r--app/Helper/User.php2
1 files changed, 1 insertions, 1 deletions
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());
}
/**