From: Matthias Schmidt Date: Fri, 29 Jun 2012 17:22:13 +0000 (+0200) Subject: Adds missing SessionHandler::setLanguageID() method X-Git-Tag: 2.0.0_Beta_1~1040^2~2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=81e335473b9aa1601e506f8cd8fa23e34ab35138;p=GitHub%2FWoltLab%2FWCF.git Adds missing SessionHandler::setLanguageID() method Used in WCF::initLanguage() --- 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. *