Fixed display issues when different settings were used for various app users (javascr...
[fa-stable.git] / includes / lang / language.php
index c090f1fc1e3d4b18903e0abe89a5d23671da8980..752c7e44c85fce1d4316b35046677d238cc0fcc9 100644 (file)
@@ -55,9 +55,6 @@ class language
 
                if ($lang && $changed)
                {
-               // flush cache as we can use several languages in one account
-                       flush_dir(company_path().'/js_cache');
-
                        $this->name = $lang['name'];
                        $this->code = $lang['code'];
                        $this->encoding = $lang['encoding'];