MDL-22015 moving CFG settings out from string_manager code to constructor parameters - this should help with testing in future and allows easier tweaking in advanced deployments

This commit is contained in:
Petr Skoda
2010-05-22 22:31:19 +00:00
parent 1e06adb47c
commit 3fdcc0a0df
3 changed files with 33 additions and 21 deletions
+1 -1
View File
@@ -3540,7 +3540,7 @@ class admin_setting_langlist extends admin_setting_configtext {
*/
public function write_setting($data) {
$return = parent::write_setting($data);
//TODO: reset lang cache
get_string_manager()->reset_caches();
return $return;
}
}