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

This commit is contained in:
Ralf Becker 2013-08-15 10:03:14 +00:00
parent eec6791213
commit 85b2f5f642

View File

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