[Pkg-owncloud-commits] [owncloud] 19/34: Removed broken/unneeded fixFileSize

David Prévot taffit at moszumanska.debian.org
Thu Nov 13 19:37:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v6.0.6
in repository owncloud.

commit 9878f001184e6324a47ec57ba1687350b02da7b5
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Tue Oct 14 13:03:12 2014 +0200

    Removed broken/unneeded fixFileSize
    
    fixFileSize is not needed as the target file will already have the
    correct unencrypted size after renaming
---
 apps/files_encryption/hooks/hooks.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 50b21c6..4fca61c 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);
 

-- 
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