mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-73330 blocks: add missing library require for constants.
All the MY_PAGE_* constants used since 15b41641
reside in another
library. We should be explicit and include it, to avoid warnings.
This commit is contained in:
parent
5ee0b620ae
commit
7905bbf240
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
defined('MOODLE_INTERNAL') || die;
|
defined('MOODLE_INTERNAL') || die;
|
||||||
|
|
||||||
require_once("$CFG->libdir/externallib.php");
|
require_once("$CFG->libdir/externallib.php");
|
||||||
|
require_once("$CFG->dirroot/my/lib.php");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Blocks external functions
|
* Blocks external functions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue