Use isEncrpyted() instead
This commit is contained in:
parent
fd4f9091fd
commit
1423cf1d9d
|
@ -214,7 +214,7 @@ class DecryptAll {
|
||||||
try {
|
try {
|
||||||
$progress->setMessage("decrypt files for user $userCount: $path");
|
$progress->setMessage("decrypt files for user $userCount: $path");
|
||||||
$progress->advance();
|
$progress->advance();
|
||||||
if ((int)$file->getData()['encrypted'] === 0) {
|
if ($file->isEncrypted() === false) {
|
||||||
$progress->setMessage("decrypt files for user $userCount: $path (already decrypted)");
|
$progress->setMessage("decrypt files for user $userCount: $path (already decrypted)");
|
||||||
$progress->advance();
|
$progress->advance();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue