original_string: public function saveLanguage()
      {
          if (DbHelper::isInstalled()) {
              $this->checkTokenInUrl();
          }
          $language = $this->getParam('language');
          LanguagesManager::setLanguageForSession($language);
          Url::redirectToReferrer();
      }
code: public function saveLanguage()
      {
          if (DbHelper::isInstalled()) {
              $this->checkTokenInUrl();
          }
          $language = $this->getParam('language');
          LanguagesManager::setLanguageForSession($language);
          Url::redirectToReferrer();
      }
code_tokens: public function saveLanguage ( ) { if ( DbHelper :: isInstalled ( ) ) { $ this -> checkTokenInUrl ( ) ; } $ language = $ this -> getParam ( 'language' ) ; LanguagesManager :: setLanguageForSession ( $ language ) ; Url :: redirectToReferrer ( ) ; }
docstring: Save language selection in session-store
docstring_tokens: Save language selection in session - store