aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/filecache.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/filecache.php b/lib/filecache.php
index 0ef73d2efc3..aa58a8ef12f 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -367,7 +367,6 @@ class OC_FileCache{
while($id!=-1) {//walk up the filetree increasing the size of all parent folders
$query=OC_DB::prepare('UPDATE `*PREFIX*fscache` SET `size`=`size`+? WHERE `id`=?');
$query->execute(array($sizeDiff, $id));
- $id=self::getParentId($path);
$path=dirname($path);
if($path == '' or $path =='/') {
return;