diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-06 16:53:35 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-17 10:48:13 +0100 |
commit | b228226700965c696f6fc7196ef7f8f067885958 (patch) | |
tree | 1eb78eee33964bf0ff0ddff9c2f31161e5ec9cf5 /apps/files_encryption/lib | |
parent | a3a064fe967865fe2df37944ecb3447cf91bfb7a (diff) | |
download | nextcloud-server-b228226700965c696f6fc7196ef7f8f067885958.tar.gz nextcloud-server-b228226700965c696f6fc7196ef7f8f067885958.zip |
Fix single run of encryption tests and usages of uniqid() and fopen()
Diffstat (limited to 'apps/files_encryption/lib')
-rw-r--r-- | apps/files_encryption/lib/stream.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_encryption/lib/stream.php b/apps/files_encryption/lib/stream.php index f74812a7253..8aa1daaa797 100644 --- a/apps/files_encryption/lib/stream.php +++ b/apps/files_encryption/lib/stream.php @@ -573,6 +573,7 @@ class Stream { \OC_FileProxy::$enabled = false; if ($this->rootView->file_exists($this->rawPath) && $this->size === 0) { + fclose($this->handle); $this->rootView->unlink($this->rawPath); } |