MDL-64005 gradebook: Fix to remove debugging message.

The progress bar is being used when there are a large amount
of grades being recalculated. This was throwing a debugging message
about NO_OUTPUT_BUFFERING being unset.
This commit is contained in:
Adrian Greeve
2018-11-14 10:39:57 +08:00
parent 208950cff0
commit 9fcfecbf15
+2
View File
@@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
define('NO_OUTPUT_BUFFERING', true); // The progress bar may be used here.
require_once '../../../config.php';
require_once $CFG->dirroot.'/grade/lib.php';
require_once $CFG->dirroot.'/grade/report/lib.php'; // for preferences