summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-16 22:57:55 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-16 22:57:55 +0200
commit3793e4d2d6729f01a83c56d8f123226134f8c626 (patch)
tree417b5d57712e6f38b275598e400e2c9e1871e4c7 /apps
parentd40d6aa3581fdacfc10532cfcfc2dc20835817d1 (diff)
downloadnextcloud-server-3793e4d2d6729f01a83c56d8f123226134f8c626.tar.gz
nextcloud-server-3793e4d2d6729f01a83c56d8f123226134f8c626.zip
fix for recover files in subfolder
Diffstat (limited to 'apps')
-rw-r--r--apps/files_encryption/lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php
index 038ec78bbdb..7acb3ce2dc3 100644
--- a/apps/files_encryption/lib/util.php
+++ b/apps/files_encryption/lib/util.php
@@ -1406,7 +1406,7 @@ class Util {
foreach ($dirContent as $item) {
$filePath = substr($item['path'], 25);
if ($item['type'] == 'dir') {
- $this->addRecoveryKey($filePath . '/', $privateKey);
+ $this->recoverAllFiles($filePath . '/', $privateKey);
} else {
$file = substr($filePath, 0, -4);
$this->recoverFile($file, $privateKey);