mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Merge pull request #19831 from owncloud/ext-dropbox-removecacheafterupload
Remove Dropbox metadata from cache after upload
This commit is contained in:
commit
7e9714340e
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue