Make user notifications pluggable

This commit is contained in:
Frederic Guillot
2015-10-17 09:51:15 -04:00
parent 98b203fe69
commit 73a5b9bc75
25 changed files with 407 additions and 258 deletions

View File

@@ -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());
}
/**