mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Removing MY_MOODLE_FORMAT constant, we just play along with relative paths.
This commit is contained in:
parent
121d525dfc
commit
044cdea0c6
4 changed files with 4 additions and 8 deletions
|
@ -34,8 +34,7 @@ class block_activity_modules extends block_list {
|
|||
}
|
||||
|
||||
function applicable_formats() {
|
||||
require_once($GLOBALS['CFG']->dirroot.'/my/pagelib.php');
|
||||
return array('all' => true, 'mod' => false, MY_MOODLE_FORMAT => false);
|
||||
return array('all' => true, 'mod' => false, 'my' => false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue