diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-16 16:45:18 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-16 16:45:18 +0200 |
commit | 7e9714340e28e83db9a68c10fabd63fb4400513b (patch) | |
tree | 50e4a244d6096fae853d8479c21df1b4674657ab /apps | |
parent | 97d40938919da05972e8118066ea39d1052644d6 (diff) | |
parent | 796179af00f2fad34b9c244a73985f0448b046d7 (diff) | |
download | nextcloud-server-7e9714340e28e83db9a68c10fabd63fb4400513b.tar.gz nextcloud-server-7e9714340e28e83db9a68c10fabd63fb4400513b.zip |
Merge pull request #19831 from owncloud/ext-dropbox-removecacheafterupload
Remove Dropbox metadata from cache after upload
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/dropbox.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/lib/dropbox.php b/apps/files_external/lib/dropbox.php index 4ab14d4f3e0..6a822c3fc69 100644 --- a/apps/files_external/lib/dropbox.php +++ b/apps/files_external/lib/dropbox.php @@ -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); } |