Making sure IP users get orange bar notificaitons

Change-Id: Iec38c8458fad43997239ef8aea87b1166a481bb7
This commit is contained in:
kaldari 2013-05-01 09:57:39 -07:00
parent 83fccf44bc
commit f6f287f4a2

View file

@ -665,7 +665,8 @@ class EchoHooks {
global $wgEchoNotifications; global $wgEchoNotifications;
// If the user has the notifications flyout turned on and is receiving // If the user has the notifications flyout turned on and is receiving
// notifications for talk page messages, disable the orange-bar-style notice. // notifications for talk page messages, disable the orange-bar-style notice.
if ( $recipient->getOption( 'echo-notify-show-link' ) if ( $recipient->isLoggedIn()
&& $recipient->getOption( 'echo-notify-show-link' )
&& isset( $wgEchoNotifications['edit-user-talk'] ) && isset( $wgEchoNotifications['edit-user-talk'] )
) { ) {
// hide orange bar // hide orange bar