From 7523d6da7474734b5131b6fb755de5b00a3315c4 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 df1c1c0eedaa0..08d28d69ba390 100644 --- a/apps/dav/lib/Migration/DisableSystemAddressBook.php +++ b/apps/dav/lib/Migration/DisableSystemAddressBook.php @@ -61,7 +61,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); } }