From 3e09cd380886b46623d8a3eee0d1e43ccef7bbd6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 12 Dec 2014 13:26:06 +0100 Subject: [PATCH] Unified return value for markAllAs*() --- .../data/user/notification/UserNotificationAction.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php b/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php index e5d2544ce1..195b1a5c4f 100644 --- a/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php +++ b/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php @@ -223,5 +223,9 @@ class UserNotificationAction extends AbstractDatabaseObjectAction { // reset notification count UserStorageHandler::getInstance()->reset(array(WCF::getUser()->userID), 'userNotificationCount'); + + return array( + 'markAllAsRead' => true + ); } } -- 2.20.1