mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-32827 calendar: include global to check for events with courseid as siteid
This commit is contained in:
parent
a9dcb44830
commit
6efb36babf
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||||
* @return bool always true
|
* @return bool always true
|
||||||
*/
|
*/
|
||||||
function xmldb_main_upgrade($oldversion) {
|
function xmldb_main_upgrade($oldversion) {
|
||||||
global $CFG, $USER, $DB, $OUTPUT;
|
global $CFG, $USER, $DB, $OUTPUT, $SITE;
|
||||||
|
|
||||||
require_once($CFG->libdir.'/db/upgradelib.php'); // Core Upgrade-related functions
|
require_once($CFG->libdir.'/db/upgradelib.php'); // Core Upgrade-related functions
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue