MDL-31636 redirect debugging to error log for ajax
authorAparup Banerjee <aparup@moodle.com>
Mon, 18 Feb 2013 08:40:22 +0000 (16:40 +0800)
committerDamyon Wiese <damyon@moodle.com>
Tue, 19 Feb 2013 03:35:56 +0000 (11:35 +0800)
comment/comment_ajax.php

index 131a803..c1fe37c 100644 (file)
@@ -22,6 +22,7 @@
  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  */
 define('AJAX_SCRIPT', true);
+define('NO_DEBUG_DISPLAY', true);
 
 require_once('../config.php');
 require_once($CFG->dirroot . '/comment/lib.php');