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

remotes/origin/ldap_group_count
Bjoern Schiessle 11 years ago
parent db0b291f63
commit 9ff231590c
  1. 2
      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']
));

Loading…
Cancel
Save