]> source.dussan.org Git - nextcloud-server.git/commitdiff
Removed unnecessary line
authorSam Tuke <samtuke@owncloud.com>
Thu, 10 Jan 2013 18:16:56 +0000 (18:16 +0000)
committerSam Tuke <samtuke@owncloud.com>
Thu, 10 Jan 2013 18:16:56 +0000 (18:16 +0000)
lib/filecache.php

index 0ef73d2efc3bf6a0abb54d4f5d050c280dcb96da..aa58a8ef12fef0405ad872e43450086bc20ce9de 100644 (file)
@@ -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;