Only update the etag. Do not re-submit any other unchanged data.

remotes/origin/stable6
Andreas Fischer 13 years ago
parent a2f82da572
commit 011bca7b7f
  1. 5
      lib/files/cache/scanner.php

@ -120,8 +120,9 @@ class Scanner extends BasicEmitter {
$parent = '';
}
$parentCacheData = $this->cache->get($parent);
$parentCacheData['etag'] = $this->storage->getETag($parent);
$this->cache->update($parentCacheData['fileid'], $parentCacheData);
$this->cache->update($parentCacheData['fileid'], array(
'etag' => $this->storage->getETag($parent),
));
}
}
}

Loading…
Cancel
Save