mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
enrol-ajax MDL-24397 Removed unneeded header call
This commit is contained in:
parent
ce79a6805c
commit
25c55fe563
@ -195,6 +195,5 @@ switch ($action) {
|
||||
throw new enrol_ajax_exception('unknowajaxaction');
|
||||
}
|
||||
|
||||
header('Content-type: application/json');
|
||||
echo json_encode($outcome);
|
||||
die();
|
||||
|
Loading…
x
Reference in New Issue
Block a user