aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-10-14 13:03:12 +0200
committerVincent Petry <pvince81@owncloud.com>2014-10-15 12:34:33 +0200
commit9878f001184e6324a47ec57ba1687350b02da7b5 (patch)
tree19b41b1ff59b17ba3d2bbb35c2dcb26d529e6172
parent828a939f96017184eb385f80243aae33e7ae8a5a (diff)
downloadnextcloud-server-9878f001184e6324a47ec57ba1687350b02da7b5.tar.gz
nextcloud-server-9878f001184e6324a47ec57ba1687350b02da7b5.zip
Removed broken/unneeded fixFileSize
fixFileSize is not needed as the target file will already have the correct unencrypted size after renaming
-rw-r--r--apps/files_encryption/hooks/hooks.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 50b21c60a6e..4fca61cdc3c 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -672,8 +672,6 @@ class Hooks {
// build the path to the file
$newPath = '/' . $ownerNew . '/files' . $pathNew;
- $util->fixFileSize($newPath);
-
// update sharing-keys
self::updateKeyfiles($params['newpath'], $type);