fixed missing global
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 13:05:42 +0000 (13:05 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 13:05:42 +0000 (13:05 +0000)
mod/lesson/db/upgradelib.php

index d0061a7..ae64f1f 100644 (file)
@@ -33,7 +33,7 @@ defined('MOODLE_INTERNAL') || die;
  * @return void
  */
 function lesson_20_migrate_moddata_mixture($courseid, $path) {
-    global $CFG, $DB;
+    global $CFG, $DB, $OUTPUT;
 
     $fullpathname = "$CFG->dataroot/$courseid".$path;