From dc7259a59c6331044d6bad06b4100e8a05382d66 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 3 Jul 2012 08:16:52 +0000 Subject: [PATCH] invalidate categories cache after DB restore --- phpgwapi/inc/class.db_backup.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpgwapi/inc/class.db_backup.inc.php b/phpgwapi/inc/class.db_backup.inc.php index e5f8609bf6..64ac0a5b3e 100644 --- a/phpgwapi/inc/class.db_backup.inc.php +++ b/phpgwapi/inc/class.db_backup.inc.php @@ -623,6 +623,9 @@ class db_backup // search-and-register-hooks $GLOBALS['egw']->hooks->register_all_hooks(); + // invalidate categories cache, it's instance wide + categories::invalidate_cache(); + return ''; }