From: Alexander Ebert Date: Fri, 12 Dec 2014 12:26:06 +0000 (+0100) Subject: Unified return value for markAllAs*() X-Git-Tag: 2.1.0_Beta_1~66 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e09cd380886b46623d8a3eee0d1e43ccef7bbd6;p=GitHub%2FWoltLab%2FWCF.git Unified return value for markAllAs*() --- 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 + ); } }