From: Michael M Slusarz Date: Tue, 16 Mar 2010 06:03:18 +0000 (-0600) Subject: Fix case of logOut action string X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=67765d8c2eb4070ce83afa6a494b799c9c1e458f;p=horde.git Fix case of logOut action string --- diff --git a/horde/services/ajax.php b/horde/services/ajax.php index cb5877af6..5871358d4 100644 --- a/horde/services/ajax.php +++ b/horde/services/ajax.php @@ -10,7 +10,7 @@ * 'ACTION' - (string) The AJAX action identifier. * * Reserved 'ACTION' strings: - * 'LogOut' - Logs user out of Horde. + * 'logOut' - Logs user out of Horde. * * Copyright 2010 The Horde Project (http://www.horde.org/) * @@ -36,7 +36,7 @@ try { } catch (Horde_Exception $e) { /* Handle session timeouts when they come from an AJAX request. */ if (($e->getCode() == Horde_Registry::AUTH_FAILURE) && - ($action != 'LogOut')) { + ($action != 'logOut')) { $ajax = Horde_Ajax::getInstance($app); $GLOBALS['notification']->push(str_replace('&', '&', Horde_Auth::getLogoutUrl(array('reason' => Horde_Auth::REASON_SESSION))), 'horde.ajaxtimeout', array('content.raw')); Horde::sendHTTPResponse(Horde::prepareResponse(null, $ajax->notify), $ajax->responseType());