From c8c3e55a72ce4884810e3f372228ccac7e22575f Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 20 Feb 2024 18:44:06 +0200 Subject: [PATCH] ignore / never delete anonymous user, which is required for EGroupware to function properly --- api/src/Accounts/Import.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/Accounts/Import.php b/api/src/Accounts/Import.php index 27cc01c9ce..4ef2c47bbb 100644 --- a/api/src/Accounts/Import.php +++ b/api/src/Accounts/Import.php @@ -569,6 +569,8 @@ class Import } } + // ignore / never delete anonymous user, which is required for EGroupware to function properly + $sql_users = array_diff($sql_users, ['anonymous']); // do we need to delete (or deactivate) no longer existing users if ($delete !== 'no' && $sql_users) {