mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
Use isEncrpyted() instead
This commit is contained in:
parent
fd4f9091fd
commit
1423cf1d9d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue