Merge branch 'wip-MDL-35770-master' of git://github.com/marinaglancy/moodle
authorDan Poltawski <dan@moodle.com>
Thu, 15 Nov 2012 05:51:07 +0000 (13:51 +0800)
committerDan Poltawski <dan@moodle.com>
Thu, 15 Nov 2012 05:51:07 +0000 (13:51 +0800)
course/format/scorm/lib.php
course/format/social/lib.php
course/format/topics/lib.php
course/format/weeks/lib.php

index 2bc6b07..0bb518d 100644 (file)
@@ -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
  *
index e645201..3c84a15 100644 (file)
@@ -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
  *
index b23cd8c..0f783e1 100644 (file)
@@ -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
  *
index 7c2dd9b..ba1f54f 100644 (file)
@@ -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
  *