Skip to content

Commit

Permalink
Merge branch 'MDL-75311_400' of https://github.com/lostrogit/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_400_STABLE
  • Loading branch information
junpataleta committed Sep 6, 2022
2 parents 796962c + 8eee29f commit f47c75b
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 f47c75b

Please sign in to comment.