aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/Crypto/Encryption.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-10 13:58:15 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-01 13:54:07 +0200
commit0ebdf871e02653bf7e65bf5bdefaec7f92d3c677 (patch)
tree27ae1b57b274b93cd9426f4c0bce5df40690a9d8 /apps/encryption/lib/Crypto/Encryption.php
parent050fa633800ed6fd922732b8461cf12b380818a1 (diff)
downloadnextcloud-server-0ebdf871e02653bf7e65bf5bdefaec7f92d3c677.tar.gz
nextcloud-server-0ebdf871e02653bf7e65bf5bdefaec7f92d3c677.zip
Fix comparisons in encryption app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/encryption/lib/Crypto/Encryption.php')
-rw-r--r--apps/encryption/lib/Crypto/Encryption.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption/lib/Crypto/Encryption.php b/apps/encryption/lib/Crypto/Encryption.php
index 1f8c8a8012e..4d20c103a5d 100644
--- a/apps/encryption/lib/Crypto/Encryption.php
+++ b/apps/encryption/lib/Crypto/Encryption.php
@@ -449,13 +449,13 @@ class Encryption implements IEncryptionModule {
return false;
}
- if ($parts[2] == 'files') {
+ if ($parts[2] === 'files') {
return true;
}
- if ($parts[2] == 'files_versions') {
+ if ($parts[2] === 'files_versions') {
return true;
}
- if ($parts[2] == 'files_trashbin') {
+ if ($parts[2] === 'files_trashbin') {
return true;
}