mirror of
https://github.com/moodle/moodle.git
synced 2025-04-27 11:23:06 +02:00
MDL-35770 Include file defining base class in order to work correctly in cron
This commit is contained in:
parent
081c8f7fe0
commit
399ad6bf3b
@ -23,6 +23,9 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
require_once($CFG->dirroot. '/course/format/lib.php');
|
||||
|
||||
/**
|
||||
* Main class for the Scorm course format
|
||||
*
|
||||
|
@ -23,6 +23,9 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
require_once($CFG->dirroot. '/course/format/lib.php');
|
||||
|
||||
/**
|
||||
* Main class for the Social course format
|
||||
*
|
||||
|
@ -23,6 +23,9 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
require_once($CFG->dirroot. '/course/format/lib.php');
|
||||
|
||||
/**
|
||||
* Main class for the Topics course format
|
||||
*
|
||||
|
@ -23,6 +23,9 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
require_once($CFG->dirroot. '/course/format/lib.php');
|
||||
|
||||
/**
|
||||
* Main class for the Weeks course format
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user