[Pkg-owncloud-commits] [owncloud] 11/28: set unencrypted_size to 0 after decryption... so that the unencrypted_size gets re-calculated if encryption was enabled again
David Prévot
taffit at moszumanska.debian.org
Sat Dec 7 02:33:31 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 01de6c565ac322f24821e24383f1d5029d30a87f
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Fri Dec 6 16:11:41 2013 +0100
set unencrypted_size to 0 after decryption... so that the unencrypted_size gets re-calculated if encryption was enabled again
---
apps/files_encryption/lib/util.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php
index 2ada623..ef8d016 100644
--- a/apps/files_encryption/lib/util.php
+++ b/apps/files_encryption/lib/util.php
@@ -770,7 +770,7 @@ class Util {
\OC\Files\Filesystem::putFileInfo($relPath, array(
'encrypted' => false,
'size' => $size,
- 'unencrypted_size' => $size,
+ 'unencrypted_size' => 0,
'etag' => $fileInfo['etag']
));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list