Add missing since tags
authorjoshuaruesweg <ruesweg@woltlab.com>
Mon, 26 Oct 2020 10:07:59 +0000 (11:07 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Mon, 2 Nov 2020 11:22:41 +0000 (12:22 +0100)
wcfsetup/install/files/lib/system/session/SessionHandler.class.php

index 7356781cd99d063d982b6858dd6213262d65a8de..7868a451d4405f89f22a512c04b393f5fd02abee 100644 (file)
@@ -989,6 +989,7 @@ final class SessionHandler extends SingletonFactory {
         * Returns all user sessions for a specific user.
         *
         * @return      \wcf\system\session\Session[]
+        * @since       5.4
         */
        public function getUserSessions(User $user): array {
                if ($user->userID === 0) {
@@ -1014,6 +1015,7 @@ final class SessionHandler extends SingletonFactory {
         * Returns all acp sessions for a specific user.
         * 
         * @return      \wcf\system\session\Session[]
+        * @since       5.4
         */
        public function getAcpSessions(User $user): array {
                if ($user->userID === 0) {
@@ -1038,6 +1040,8 @@ final class SessionHandler extends SingletonFactory {
        /**
         * Deletes the user sessions for a specific user, except the session with the given session id.
         * If the given session id is null or unknown, all sessions for the user will be deleted.
+        * 
+        * @since       5.4
         */
        public function deleteUserSessionsExcept(User $user, ?string $sessionID = null): void {
                if ($user->userID === 0) {
@@ -1066,6 +1070,8 @@ final class SessionHandler extends SingletonFactory {
        /**
         * Deletes the acp sessions for a specific user, except the session with the given session id.
         * If the given session id is null or unknown, all acp sessions for the user will be deleted.
+        * 
+        * @since       5.4
         */
        public function deleteAcpSessionsExcept(User $user, ?string $sessionID = null): void {
                if ($user->userID === 0) {
@@ -1087,6 +1093,8 @@ final class SessionHandler extends SingletonFactory {
        
        /**
         * Deletes a user session with the given session id.
+        * 
+        * @since       5.4
         */
        public function deleteUserSession(string $sessionID): void {
                $sql = "DELETE FROM     wcf".WCF_N."_user_session
@@ -1103,6 +1111,8 @@ final class SessionHandler extends SingletonFactory {
        
        /**
         * Deletes a acp session with the given session id.
+        * 
+        * @since       5.4
         */
        public function deleteAcpSession(string $sessionID): void {
                $sql = "DELETE FROM     wcf".WCF_N."_acp_session