Permalink
Browse files

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

Removing useless code..
  • Loading branch information...
danpoltawski authored and stronk7 committed Aug 4, 2011
1 parent 2ce0d40 commit bf1b681560f784b4e4dbb89f43aab6134b9223dc
Showing with 0 additions and 4 deletions.
  1. +0 −4 repository/local/lib.php
View
@@ -99,10 +99,6 @@ public function get_listing($encodedpath = '') {
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

0 comments on commit bf1b681

Please sign in to comment.