Fixed cache reset once importing languages
authorAlexander Ebert <ebert@woltlab.com>
Fri, 7 Dec 2012 02:33:30 +0000 (03:33 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 7 Dec 2012 02:33:30 +0000 (03:33 +0100)
files/lib/acp/form/LanguageAddForm.class.php

index 8ae11dd79dc34a6b7540c3cef94b400118bda641..3b89d5711f85d5c6648ce81f598d70856d55b838 100644 (file)
@@ -171,6 +171,7 @@ class LanguageAddForm extends ACPForm {
                        $languageEditor->copy($this->language);
                }
                
+               LanguageFactory::getInstance()->clearCache();
                LanguageFactory::getInstance()->deleteLanguageCache();
                
                $this->saved();