From 81e335473b9aa1601e506f8cd8fa23e34ab35138 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 29 Jun 2012 19:22:13 +0200 Subject: [PATCH] Adds missing SessionHandler::setLanguageID() method Used in WCF::initLanguage() --- .../files/lib/system/session/SessionHandler.class.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index af23c2e1ef..7b4a0ab5ae 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -543,7 +543,7 @@ class SessionHandler extends SingletonFactory { } /** - * Returns currently active language id + * Returns currently active language id. * * @return integer */ @@ -551,6 +551,15 @@ class SessionHandler extends SingletonFactory { return $this->languageID; } + /** + * Sets the currently active language id. + * + * @param integer $languageID + */ + public function setLanguageID($languageID) { + $this->languageID = $languageID; + } + /** * Resets session-specific storage data. * -- 2.20.1