web/request.py
changeset 8538 00597256de18
parent 8535 268b6349baf3
child 8541 5b6bc27ece6e
--- a/web/request.py	Mon Sep 10 14:00:09 2012 +0200
+++ b/web/request.py	Mon Sep 10 13:53:59 2012 +0200
@@ -226,14 +226,6 @@
         # 3. default language
         self.set_default_language(vreg)
 
-    def set_language(self, lang):
-        gettext, self.pgettext = self.translations[lang]
-        self._ = self.__ = gettext
-        self.lang = lang
-        self.debug('request language: %s', lang)
-        if self.cnx:
-            self.cnx.set_session_props(lang=lang)
-
     # input form parameters management ########################################
 
     # common form parameters which should be protected against html values