Browse Source

Temporarily removing Session calls from I18n, this needs to be redone
when I18n is re-visited

Jose Lorenzo Rodriguez 12 years ago
parent
commit
4a355f05d3
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/I18n/I18n.php

+ 0 - 3
src/I18n/I18n.php

@@ -222,9 +222,6 @@ class I18n {
 		}
 
 		if (empty($language)) {
-			if (Session::started()) {
-				$language = Session::read('Config.language');
-			}
 			if (empty($language)) {
 				$language = Configure::read('Config.language');
 			}