mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
allow apps to hook into "Admin >> Clear cache and register hooks"
This commit is contained in:
parent
eec6791213
commit
85b2f5f642
@ -175,6 +175,9 @@ class admin_prefs_sidebox_hooks
|
|||||||
{
|
{
|
||||||
$GLOBALS['egw']->invalidate_session_cache(); // in case with cache the egw_info array in the session
|
$GLOBALS['egw']->invalidate_session_cache(); // in case with cache the egw_info array in the session
|
||||||
}
|
}
|
||||||
|
// allow apps to hook into "Admin >> Clear cache and register hooks"
|
||||||
|
$GLOBALS['egw']->hooks->process('clear_cache', array(), true);
|
||||||
|
|
||||||
$GLOBALS['egw']->redirect_link('/admin/index.php');
|
$GLOBALS['egw']->redirect_link('/admin/index.php');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user