mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
allow apps to hook into "Admin >> Clear cache and register hooks"
This commit is contained in:
parent
155c759d05
commit
a5262b6cf9
@ -149,6 +149,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