From bf44a1891271e6286fee23b734211d6409598b4b Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Thu, 15 Oct 2026 12:44:38 +0200 Subject: [PATCH] fix(DisableSystemAddressBook): Fix notification by providing an object id Fix the following error: ERROR: The given notification is invalid. Signed-off-by: Carl Schwan --- apps/dav/lib/Migration/DisableSystemAddressBook.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/dav/lib/Migration/DisableSystemAddressBook.php b/apps/dav/lib/Migration/DisableSystemAddressBook.php index 8c7f712275cc8..8503dc589ac1d 100644 --- a/apps/dav/lib/Migration/DisableSystemAddressBook.php +++ b/apps/dav/lib/Migration/DisableSystemAddressBook.php @@ -59,7 +59,8 @@ public function run(IOutput $output) { $notification->setApp(Application::APP_ID) ->setUser($user->getUID()) ->setDateTime(new \DateTime()) - ->setSubject('SystemSystemAddressBookDisabled', []); + ->setObject('system_addressbook', 'system') + ->setSubject('SystemAddressBookDisabled', []); $this->notificationManager->notify($notification); } }