forked from extern/egroupware
use 16.1 Api\Exception\Redirect instead of old egw_exception_redirect not existing in default 16.1 install
This commit is contained in:
parent
29a3c5a08e
commit
8a0390fbf2
2
json.php
2
json.php
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user