From 8d5d1788698a113eec0f228e11218a61c025ee6e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 6 Apr 2017 16:49:26 +0200 Subject: [PATCH] fix exception stalling new installations --- api/src/Egw/Applications.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api/src/Egw/Applications.php b/api/src/Egw/Applications.php index 6aa91dfcbe..1ef24b1244 100755 --- a/api/src/Egw/Applications.php +++ b/api/src/Egw/Applications.php @@ -111,6 +111,11 @@ class Applications */ public static function invalidate() { - Api\Cache::unsetInstance(__CLASS__, 'apps'); + try { + Api\Cache::unsetInstance(__CLASS__, 'apps'); + } + catch (\Exception $e) { + // ignore exceptions caused by not existing install_id during installation + } } }