require completionlib.php
authorDongsheng Cai <unoter@gmail.com>
Tue, 22 Jun 2010 09:40:10 +0000 (09:40 +0000)
committerDongsheng Cai <unoter@gmail.com>
Tue, 22 Jun 2010 09:40:10 +0000 (09:40 +0000)
mod/folder/view.php

index 1c1d9a2..b0ecda9 100644 (file)
@@ -25,6 +25,7 @@
 
 require('../../config.php');
 require_once("$CFG->dirroot/mod/folder/locallib.php");
 
 require('../../config.php');
 require_once("$CFG->dirroot/mod/folder/locallib.php");
+require_once($CFG->libdir . '/completionlib.php');
 
 $id = optional_param('id', 0, PARAM_INT);  // Course module ID
 $f  = optional_param('f', 0, PARAM_INT);   // Folder instance id
 
 $id = optional_param('id', 0, PARAM_INT);  // Course module ID
 $f  = optional_param('f', 0, PARAM_INT);   // Folder instance id