summaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption/DecryptAll.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Encryption/DecryptAll.php')
-rw-r--r--lib/private/Encryption/DecryptAll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Encryption/DecryptAll.php b/lib/private/Encryption/DecryptAll.php
index 904a247e41c..8676bc09575 100644
--- a/lib/private/Encryption/DecryptAll.php
+++ b/lib/private/Encryption/DecryptAll.php
@@ -214,7 +214,7 @@ class DecryptAll {
try {
$progress->setMessage("decrypt files for user $userCount: $path");
$progress->advance();
- if ((int)$file->getData()['encrypted'] === 0) {
+ if ($file->isEncrypted() === false) {
$progress->setMessage("decrypt files for user $userCount: $path (already decrypted)");
$progress->advance();
} else {