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:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user