Browse Source

Fix #421 - include filelib.php in structure class.

we should tidy this up at some point.
MOODLE_35_STABLE
Dan Marsden 5 years ago
parent
commit
9836d3cfb2
  1. 2
      classes/structure.php

2
classes/structure.php

@ -23,7 +23,9 @@
*/ */
defined('MOODLE_INTERNAL') || die(); defined('MOODLE_INTERNAL') || die();
global $CFG; // This class is included inside existing functions.
require_once(dirname(__FILE__) . '/calendar_helpers.php'); require_once(dirname(__FILE__) . '/calendar_helpers.php');
require_once($CFG->libdir .'/filelib.php');
/** /**
* Main class with all Attendance related info. * Main class with all Attendance related info.

Loading…
Cancel
Save