Remove SessionHandler methods to delete ACP sessions
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 8 Jan 2021 14:52:10 +0000 (15:52 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 21 Jan 2021 10:10:04 +0000 (11:10 +0100)
They were both introduced and deprecated in 5.4.

wcfsetup/install/files/lib/system/session/SessionHandler.class.php

index 3ecb1f0eefd58e12caede233f01184624e8cef98..9bd03b58c5eb31ed3fe0c8cfcd83ac0b8a5899d5 100644 (file)
@@ -1318,14 +1318,6 @@ final class SessionHandler extends SingletonFactory {
                $statement->execute($conditionBuilder->getParameters());
        }
        
-       /**
-        * @since      5.4
-        * @deprecated       5.4 - This is a noop
-        */
-       public function deleteAcpSessionsExcept(User $user, ?string $sessionID = null): void {
-               // noop
-       }
-       
        /**
         * Deletes a user session with the given session ID.
         * 
@@ -1343,12 +1335,4 @@ final class SessionHandler extends SingletonFactory {
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute([$sessionID]);
        }
-       
-       /**
-        * @since       5.4
-        * @deprecated       5.4 - This is a noop
-        */
-       public function deleteAcpSession(string $sessionID): void {
-               // noop
-       }
 }