From bf1b681560f784b4e4dbb89f43aab6134b9223dc Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Thu, 4 Aug 2011 14:14:38 +0100 Subject: [PATCH] MDL-28605 repsitory/local - Prevent server running out of memory Removing useless code.. --- repository/local/lib.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/repository/local/lib.php b/repository/local/lib.php index ab374d6efdf..4f364752005 100644 --- a/repository/local/lib.php +++ b/repository/local/lib.php @@ -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