Removed unnecessary line

This commit is contained in:
Sam Tuke 2013-01-10 18:16:56 +00:00
parent 0579b52092
commit 3e83023bf6

View 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;