($action != 'LogOut')) {
//FIXME: The below is certain to break since it relies on classes I did
// not yet copy from IMP.
- $notification = Horde_Notification::singleton();
+ $notification = &Horde_Notification::singleton();
$shout_notify = $notification->attach('status', array('viewmode' => 'dimp'), 'Shout_Notification_Listener_Status');
$notification->push(str_replace('&', '&', Horde_Auth::getLogoutUrl(array('reason' => Horde_Auth::REASON_SESSION))), 'shout.timeout', array('content.raw'));
Horde::sendHTTPResponse(Horde::prepareResponse(null, $shout_notify), 'json');
$contexts = false;
}
- $notification = Horde_Notification::singleton();
+ $notification = &Horde_Notification::singleton();
$GLOBALS['notification'] = $notification;
$notification->attach('status');
static public function getTabs($context, &$vars)
{
global $shout;
- $perms = Horde_Perms::singleton();
+ $perms = &Horde_Perms::singleton();
$permprefix = 'shout:contexts:' . $context;
{
if (Horde_Auth::isAdmin()) { return true; }
- $perms = Horde_Perms::singleton();
+ $perms = &Horde_Perms::singleton();
if ($permmask === null) {
$permmask = PERMS_SHOW|PERMS_READ;
}