use 16.1 Api\Exception\Redirect instead of old egw_exception_redirect not existing in default 16.1 install

This commit is contained in:
Ralf Becker 2016-10-31 18:30:45 +01:00
parent 8040fa49ec
commit 3bfbf26cfa

View File

@ -45,7 +45,7 @@ function login_redirect(&$anon_account)
function ajax_exception_handler($e)
{
// handle redirects without logging
if (is_a($e, 'egw_exception_redirect'))
if (is_a($e, 'EGroupware\\Api\\Exception\\Redirect'))
{
Egw::redirect($e->url, $e->app);
}