Unified return value for markAllAs*()
authorAlexander Ebert <ebert@woltlab.com>
Fri, 12 Dec 2014 12:26:06 +0000 (13:26 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 12 Dec 2014 12:26:06 +0000 (13:26 +0100)
wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php

index e5d2544ce1918cdd0e37c2a13780308102f68327..195b1a5c4f5b814ebc36060837db200e852a0729 100644 (file)
@@ -223,5 +223,9 @@ class UserNotificationAction extends AbstractDatabaseObjectAction {
                
                // reset notification count
                UserStorageHandler::getInstance()->reset(array(WCF::getUser()->userID), 'userNotificationCount');
+               
+               return array(
+                       'markAllAsRead' => true
+               );
        }
 }