"MDL-23307, server file plugin display current course files by default"

This commit is contained in:
Dongsheng Cai
2010-07-19 17:44:23 +00:00
parent 54a0159805
commit be85f7ab94
8 changed files with 35 additions and 39 deletions
-1
View File
@@ -49,7 +49,6 @@ class file_picker implements renderable {
require_once($CFG->dirroot. '/repository/lib.php');
$defaults = array(
'accepted_types'=>'*',
'context'=>$PAGE->context, //TODO: no PAGE in components allowed!! (skodak)
'return_types'=>FILE_INTERNAL,
'env' => 'filepicker',
'client_id' => uniqid(),