mirror of
https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git
synced 2024-09-07 21:17:02 +00:00
Add Support for 4.1, 4.2
This commit is contained in:
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
Block a user