]> source.dussan.org Git - nextcloud-server.git/commitdiff
Respect oc coding style guide.
authorChristian Jürges <christian@eqipe.ch>
Wed, 9 Mar 2016 11:47:19 +0000 (12:47 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 30 May 2016 12:49:27 +0000 (14:49 +0200)
lib/private/Encryption/DecryptAll.php

index 303e7776a61112d06059216df54ab922d7e0a120..904a247e41c1a51c2a6cfe4789c9c84b0a0dcce6 100644 (file)
@@ -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 {