enrol-ajax MDL-24397 Removed unneeded header call
authorSam Hemelryk <sam@moodle.com>
Tue, 28 Sep 2010 01:50:19 +0000 (01:50 +0000)
committerSam Hemelryk <sam@moodle.com>
Tue, 28 Sep 2010 01:50:19 +0000 (01:50 +0000)
enrol/ajax.php

index daa4349..81c0ede 100644 (file)
@@ -195,6 +195,5 @@ switch ($action) {
         throw new enrol_ajax_exception('unknowajaxaction');
 }
 
-header('Content-type: application/json');
 echo json_encode($outcome);
 die();