allow apps to hook into "Admin >> Clear cache and register hooks"

This commit is contained in:
Ralf Becker 2013-08-15 10:03:47 +00:00
parent 155c759d05
commit a5262b6cf9

View File

@ -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');
} }
} }