MDL-22591, user_private plugin, disable it from private file block, hide user_private area from local plugin

This commit is contained in:
Dongsheng Cai
2010-05-31 03:03:21 +00:00
parent 838447cadc
commit 6bf197b34c
12 changed files with 368 additions and 9 deletions
+1
View File
@@ -191,6 +191,7 @@ class file_manager implements renderable {
$params->return_types = $options->return_types;
$params->context = $options->context;
$params->env = 'filemanager';
$params->disable_types = !empty($options->disable_types)?$options->disable_types:array();
$filepicker_options = initialise_filepicker($params);
$this->options->filepicker = $filepicker_options;
}