Skip to content

Commit

Permalink
Merge branch 'MDL-75311' of https://github.com/lostrogit/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Sep 6, 2022
2 parents 7b410fb + 335e097 commit abcba4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reportbuilder/classes/local/helpers/schedule.php
Expand Up @@ -151,6 +151,9 @@ public static function get_schedule_report_count(model $schedule): int {
* @return stored_file
*/
public static function get_schedule_report_file(model $schedule): stored_file {
global $CFG;
require_once("{$CFG->libdir}/filelib.php");

$table = custom_report_table_view::create($schedule->get('reportid'));

$table->setup();
Expand Down

0 comments on commit abcba4d

Please sign in to comment.