From ff21b63db451d729bb38d2a8f8ea5bd2d51bb429 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 22 Apr 2021 15:45:48 +0200 Subject: [PATCH] Remove SessionHandler::getAcpSessions() There's no such thing like an ACP session any longer. This method was added in 5.4 and thus can directly be removed again. see dca6c80bfded3d7895487e12c78874a884060be2 --- .../lib/system/session/SessionHandler.class.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index 1be28d4099..e0883c8a14 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -1406,18 +1406,6 @@ final class SessionHandler extends SingletonFactory return $this->getSessions($user, false); } - /** - * Returns all acp sessions for a specific user. - * - * @return Session[] - * @throws \InvalidArgumentException if the given user is a guest. - * @since 5.4 - */ - public function getAcpSessions(User $user): array - { - return $this->getSessions($user, true); - } - /** * Returns all sessions for a specific user. * -- 2.20.1