summaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption/DecryptAll.php
diff options
context:
space:
mode:
authorChristian Jürges <christian@eqipe.ch>2016-03-09 12:47:19 +0100
committerVincent Petry <pvince81@owncloud.com>2016-05-30 14:49:27 +0200
commitfd4f9091fdad984b34626da7a8d9d37a00d7482f (patch)
tree3b119b034acdf9b6fc82b4ac074fa4413809a409 /lib/private/Encryption/DecryptAll.php
parentb996c1f43f2e75bbb3aed7b0832ac25db30ba258 (diff)
downloadnextcloud-server-fd4f9091fdad984b34626da7a8d9d37a00d7482f.tar.gz
nextcloud-server-fd4f9091fdad984b34626da7a8d9d37a00d7482f.zip
Respect oc coding style guide.
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 303e7776a61..904a247e41c 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 ($file->getData()['encrypted'] == 0) {
+ if ((int)$file->getData()['encrypted'] === 0) {
$progress->setMessage("decrypt files for user $userCount: $path (already decrypted)");
$progress->advance();
} else {