make sure that also the storage etag gets changed
This commit is contained in:
parent
a80ac9c492
commit
0d7d396d80
|
@ -135,10 +135,13 @@ class Updater {
|
||||||
|
|
||||||
while ($id !== -1) {
|
while ($id !== -1) {
|
||||||
$cache->update($id, array('mtime' => $time, 'etag' => $storage->getETag($internalPath)));
|
$cache->update($id, array('mtime' => $time, 'etag' => $storage->getETag($internalPath)));
|
||||||
$realPath = dirname($realPath);
|
if ($realPath !== '') {
|
||||||
// check storage for parent in case we change the storage in this step
|
$realPath = dirname($realPath);
|
||||||
list($storage, $internalPath) = $view->resolvePath($realPath);
|
if($realPath === '/') {
|
||||||
if ($internalPath) {
|
$realPath = "";
|
||||||
|
}
|
||||||
|
// check storage for parent in case we change the storage in this step
|
||||||
|
list($storage, $internalPath) = $view->resolvePath($realPath);
|
||||||
$cache = $storage->getCache();
|
$cache = $storage->getCache();
|
||||||
$id = $cache->getId($internalPath);
|
$id = $cache->getId($internalPath);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue