Add Support for 4.1, 4.2
parent
a46f7043e5
commit
45634d8a3e
|
@ -55,7 +55,10 @@ if (($data = $mform->get_data()) && confirm_sesskey()) {
|
|||
|
||||
foreach ($data as $field => $value) {
|
||||
if (strpos($field, 'pchkorg') === 0) {
|
||||
set_config($field, $value, 'plagiarism');
|
||||
if ('pchkorg_use' === $field) {
|
||||
set_config('enabled', $value, 'plagiarism_pchkorg');
|
||||
}
|
||||
set_config($field, $value, 'plagiarism_pchkorg');
|
||||
$pchkorgconfigmodel->set_system_config($field, $value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue