mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
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
8040fa49ec
commit
3bfbf26cfa
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