"MDL-21021, removed reduplicated user private folder"
authorDongsheng Cai <unoter@gmail.com>
Tue, 18 May 2010 01:49:50 +0000 (01:49 +0000)
committerDongsheng Cai <unoter@gmail.com>
Tue, 18 May 2010 01:49:50 +0000 (01:49 +0000)
lib/file/file_info_user.php

index 000cabd..91fb9fe 100644 (file)
@@ -104,10 +104,6 @@ class file_info_user extends file_info {
         if ($child = $this->browser->get_file_info(get_context_instance(CONTEXT_USER, $USER->id), 'user_backup', 0)) {
             $children[] = $child;
         }
-
-        if ($child = $this->browser->get_file_info(get_context_instance(CONTEXT_USER, $USER->id), 'user_private', 0)) {
-            $children[] = $child;
-        }
         // do not list user_draft here - it is browsable only if you know the draft itemid ;-)
 
         return $children;