Commit b57433fa353427265eed35a6e91fa0196d48e555

Authored by Brad Shuttleworth
1 parent a45de44f

made the cleared notification message more friendly.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5421 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 2 changed files with 3 additions and 2 deletions
HISTORY.txt
@@ -13,7 +13,8 @@ Fixes: @@ -13,7 +13,8 @@ Fixes:
13 - KTS-972 Owner, Everyone and Authenticated weren't being respected by browse 13 - KTS-972 Owner, Everyone and Authenticated weren't being respected by browse
14 and search 14 and search
15 - KTS-959 Documents weren't properly purged from the cache on change. 15 - KTS-959 Documents weren't properly purged from the cache on change.
16 - 16 + - KTS-977 Saved Searches didn't take "is"/"is not" into account
  17 + - KTS-910 Notification already cleared message is not friendly.
17 18
18 3.0.2 19 3.0.2
19 ----- 20 -----
notify.php
@@ -56,7 +56,7 @@ class KTNotificationDispatcher extends KTStandardDispatcher { @@ -56,7 +56,7 @@ class KTNotificationDispatcher extends KTStandardDispatcher {
56 $oKTNotification =& KTNotification::get($notification_id); 56 $oKTNotification =& KTNotification::get($notification_id);
57 57
58 if (PEAR::isError($oKTNotification)) { 58 if (PEAR::isError($oKTNotification)) {
59 - $this->addErrorMessage(_kt('Invalid notification.')); 59 + $this->addInfoMessage(_kt('Cannot find the notification you requested. Notification may already have been cleared.'));
60 exit(redirect(generateControllerLink('dashboard'))); 60 exit(redirect(generateControllerLink('dashboard')));
61 } 61 }
62 62