Merge branch 'MDL-45256-master' of git://github.com/FMCorz/moodle
authorDan Poltawski <dan@moodle.com>
Wed, 30 Apr 2014 07:48:17 +0000 (15:48 +0800)
committerDan Poltawski <dan@moodle.com>
Wed, 30 Apr 2014 07:48:17 +0000 (15:48 +0800)
lib/tests/portfoliolib_test.php

index a2a45e7..1d8a051 100644 (file)
@@ -24,6 +24,7 @@
  */
 
 defined('MOODLE_INTERNAL') || die();
+global $CFG;
 
 require_once($CFG->libdir.'/portfoliolib.php');
 require_once($CFG->libdir.'/portfolio/formats.php');