diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-04-09 17:52:24 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-04-23 12:54:25 +0200 |
commit | a86d97295e4e0e1560bcd4cce4bde21aa60a2486 (patch) | |
tree | c1a73dd7a985e8e09beeaa10cbf7631ff866b1d6 /apps/files_encryption/lib/util.php | |
parent | 4c840cb61d560ae567e3e9aaa7bd411cac917e48 (diff) | |
download | nextcloud-server-a86d97295e4e0e1560bcd4cce4bde21aa60a2486.tar.gz nextcloud-server-a86d97295e4e0e1560bcd4cce4bde21aa60a2486.zip |
fix encryption tests after the removal of the shared folder
Diffstat (limited to 'apps/files_encryption/lib/util.php')
-rw-r--r-- | apps/files_encryption/lib/util.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php index b86815021a8..4be4ab95653 100644 --- a/apps/files_encryption/lib/util.php +++ b/apps/files_encryption/lib/util.php @@ -1408,11 +1408,10 @@ class Util { $this->userFilesDir . '/' . $dir)); foreach ($content as $c) { - $usersPath = isset($c['usersPath']) ? $c['usersPath'] : $c['path']; if ($c['type'] === 'dir') { - $dirList[] = substr($usersPath, strlen("files")); + $dirList[] = substr($c['path'], strlen("files")); } else { - $result[] = substr($usersPath, strlen("files")); + $result[] = substr($c['path'], strlen("files")); } } |