Permalink
Browse files

MDL-31636 redirect debugging to error log for ajax

  • Loading branch information...
1 parent 7e94bdc commit 6c847bbb9ef6d1e5fcf4c3d9bb3ab3ccfc69386c @nebgor nebgor committed with damyon Feb 18, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 comment/comment_ajax.php
View
1 comment/comment_ajax.php
@@ -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');

0 comments on commit 6c847bb

Please sign in to comment.