Use isEncrpyted() instead

remotes/origin/swift-largeobjectsupport
Vincent Petry 10 years ago
parent fd4f9091fd
commit 1423cf1d9d
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
  1. 2
      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 {

Loading…
Cancel
Save