From f818287ac6725949792591acb64dbcbf45ffaa32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 30 May 2022 10:54:48 +0200 Subject: [PATCH] Re-deprecate SessionHandler's styleID functionality see 094ee7c31ce505b293fc228d6831ecb4a42130cc --- .../files/lib/system/session/SessionHandler.class.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index 05cbeafa1f..6ff3fc54bc 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -1375,9 +1375,7 @@ final class SessionHandler extends SingletonFactory } /** - * Returns currently active style id. - * - * @return int + * @deprecated 5.5 - Use `StyleHandler::getInstance()->getStyle()->styleID` instead. */ public function getStyleID() { @@ -1385,9 +1383,7 @@ final class SessionHandler extends SingletonFactory } /** - * Sets the currently active style id. - * - * @param int $styleID + * @deprecated 5.5 - Set the style directly with the `StyleAction::changeStyle()`. */ public function setStyleID($styleID) { -- 2.20.1