[Pkg-owncloud-commits] [owncloud] 122/258: Reenable file proxy when renaming between mount points
David Prévot
taffit at moszumanska.debian.org
Sat Oct 11 17:22:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 03bb3d2bdcb74fa6532faff9df963f70e63ac043
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Thu Sep 18 19:21:04 2014 +0200
Reenable file proxy when renaming between mount points
When moving a folder into another mount point, $renamedFiles is empty
because that goes over a different mechanism.
In such case, this fix makes sure that the file proxy is reenable to
avoid breaking the subsequent files that are being moved.
---
apps/files_encryption/hooks/hooks.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index ee08af3..0de7209 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -501,6 +501,7 @@ class Hooks {
unset(self::$renamedFiles[$params['oldpath']]);
} else {
\OCP\Util::writeLog('Encryption library', "can't get path and owner from the file before it was renamed", \OCP\Util::DEBUG);
+ \OC_FileProxy::$enabled = $proxyStatus;
return false;
}
--
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