diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-10-27 03:15:44 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-10-27 03:15:44 +0400 |
commit | e793504a55ed49e31e9b78ca02f3de85d085ea51 (patch) | |
tree | f8a35bd21140c5f66e0a158d2f24eeb39bfc0fc7 /core/Notification | |
parent | 3068233a9bfde2fc0ae08e4f65c642fe0120d4d3 (diff) |
refs #4179 handle persistent notifications
Diffstat (limited to 'core/Notification')
-rw-r--r-- | core/Notification/Manager.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Notification/Manager.php b/core/Notification/Manager.php index 62b245a389..dbde9bd7fd 100644 --- a/core/Notification/Manager.php +++ b/core/Notification/Manager.php @@ -33,7 +33,9 @@ class Manager $session = static::getSession(); $session->$id = $notification; - $session->setExpirationHops(1, $id); + if (Notification::TYPE_PERSISTENT != $notification->type) { + $session->setExpirationHops(1, $id); + } } public static function getAllNotificationsToDisplay() |