Commit 32ad31d8 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files
parents 2af505a4 b295be30
......@@ -97,16 +97,14 @@ function pluginconfig_submit($values) {
json_reply(false, get_string('settingssaved'));
}
else {
json_reply(false, get_string('settingssavefailed'));
json_reply('local', get_string('settingssavefailed'));
}
}
function pluginconfig_validate(Pieform $form, $values) {
function pluginconfig_validate(PieForm $form, $values) {
global $validatefunction, $plugintype, $pluginname, $classname;
if (!empty($validatefunction)) {
call_static_method($classname, $validatefunction, $form, $values);
}
}
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment