Respect oc coding style guide.

This commit is contained in:
Christian Jürges 2016-03-09 12:47:19 +01:00 committed by Vincent Petry
parent b996c1f43f
commit fd4f9091fd
No known key found for this signature in database
GPG key ID: AF8F9EFC56562186

View 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 {