summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/crypto/encryption.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/lib/crypto/encryption.php')
-rw-r--r--apps/encryption/lib/crypto/encryption.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php
index 0fd85fa4e9a..c060bb04e53 100644
--- a/apps/encryption/lib/crypto/encryption.php
+++ b/apps/encryption/lib/crypto/encryption.php
@@ -330,7 +330,7 @@ class Encryption implements IEncryptionModule {
*/
public function shouldEncrypt($path) {
$parts = explode('/', $path);
- if (count($parts) < 3) {
+ if (count($parts) < 4) {
return false;
}
@@ -340,6 +340,9 @@ class Encryption implements IEncryptionModule {
if ($parts[2] == 'files_versions') {
return true;
}
+ if ($parts[2] == 'files_trashbin') {
+ return true;
+ }
return false;
}