projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef2068
)
Revert "fix reveresed logic for determining if notifications are shown"
author
Jan Schneider
<jan@horde.org>
Mon, 31 Aug 2009 14:21:41 +0000
(16:21 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 31 Aug 2009 14:21:41 +0000
(16:21 +0200)
This reverts commit
9e3d56deae198b7904a52df03252a7e97366d1b3
.
Not sure what this was supposed to do, but it broke notifications in the ajax interface.
kronolith/lib/Notification/Listener/Status.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Notification/Listener/Status.php
b/kronolith/lib/Notification/Listener/Status.php
index
ae7593b
..
0170c83
100644
(file)
--- a/
kronolith/lib/Notification/Listener/Status.php
+++ b/
kronolith/lib/Notification/Listener/Status.php
@@
-36,9
+36,9
@@
class Kronolith_Notification_Listener_Status extends Horde_Notification_Listener
*/
public function notify(&$messageStack, $options = array())
{
- /* Don't capture notification messages if we are logging out
or
are
+ /* Don't capture notification messages if we are logging out are
* accessing the options pages. */
- if (
!Horde_Auth::getAuth() ||
strstr($_SERVER['PHP_SELF'], '/prefs.php')) {
+ if (
Horde_Auth::getAuth() && !
strstr($_SERVER['PHP_SELF'], '/prefs.php')) {
$options['store'] = true;
}
parent::notify($messageStack, $options);