don't update storage mtime if we can't get the modified date
This commit is contained in:
parent
9b5fd515ef
commit
7970ff2099
1 changed files with 4 additions and 1 deletions
|
@ -231,7 +231,10 @@ class Updater implements IUpdater {
|
|||
$parentId = $this->cache->getParentId($internalPath);
|
||||
$parent = dirname($internalPath);
|
||||
if ($parentId != -1) {
|
||||
$this->cache->update($parentId, array('storage_mtime' => $this->storage->filemtime($parent)));
|
||||
$mtime = $this->storage->filemtime($parent);
|
||||
if ($mtime !== false) {
|
||||
$this->cache->update($parentId, array('storage_mtime' => $mtime));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue