Remove Dropbox metadata from cache after upload
This will make sure that the next calls that read the mtime will get the correct value.
This commit is contained in:
parent
7224e99ccd
commit
796179af00
|
@ -288,6 +288,7 @@ class Dropbox extends \OC\Files\Storage\Common {
|
|||
try {
|
||||
$this->dropbox->putFile(self::$tempFiles[$tmpFile], $handle);
|
||||
unlink($tmpFile);
|
||||
$this->deleteMetaData(self::$tempFiles[$tmpFile]);
|
||||
} catch (\Exception $exception) {
|
||||
\OCP\Util::writeLog('files_external', $exception->getMessage(), \OCP\Util::ERROR);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue