set unencrypted_size to 0 after decryption... so that the unencrypted_size gets re-calculated if encryption was enabled again

This commit is contained in:
Bjoern Schiessle 2013-12-06 16:11:41 +01:00
parent db0b291f63
commit 9ff231590c
1 changed files with 1 additions and 1 deletions

View File

@ -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']
));