Use isEncrpyted() instead
This commit is contained in:
parent
fd4f9091fd
commit
1423cf1d9d
|
@ -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 New Issue