From: Alexander Ebert Date: Fri, 7 Dec 2012 02:33:30 +0000 (+0100) Subject: Fixed cache reset once importing languages X-Git-Tag: 2.0.0_Beta_1~616^2~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80602c31557925b92d91d8a159fcfb8d6f4a905b;p=GitHub%2FWoltLab%2FWCF.git Fixed cache reset once importing languages --- diff --git a/files/lib/acp/form/LanguageAddForm.class.php b/files/lib/acp/form/LanguageAddForm.class.php index 8ae11dd79d..3b89d5711f 100644 --- a/files/lib/acp/form/LanguageAddForm.class.php +++ b/files/lib/acp/form/LanguageAddForm.class.php @@ -171,6 +171,7 @@ class LanguageAddForm extends ACPForm { $languageEditor->copy($this->language); } + LanguageFactory::getInstance()->clearCache(); LanguageFactory::getInstance()->deleteLanguageCache(); $this->saved();