MDL-28605 repsitory/local - Prevent server running out of memory

Removing useless code..
This commit is contained in:
Dan Poltawski 2011-08-04 14:14:38 +01:00 committed by Eloy Lafuente (stronk7)
parent c97cc5c72f
commit 22fb538603

View File

@ -99,10 +99,6 @@ class repository_local extends repository {
continue;
}
$params = $child->get_params();
$subdir_children = $child->get_children();
//if (empty($subdir_children)) {
//continue;
//}
$encodedpath = base64_encode(serialize($params));
// hide user_private area from local plugin, user should
// use private file plugin to access private files