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 29a3c5a08e
commit 8a0390fbf2

View File

@ -45,7 +45,7 @@ function login_redirect(&$anon_account)
function ajax_exception_handler($e) function ajax_exception_handler($e)
{ {
// handle redirects without logging // 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); Egw::redirect($e->url, $e->app);
} }