summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Storage.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-10 14:18:15 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-01 13:56:12 +0200
commitd703744d4afa9b387616ff6f6de574b652e125f1 (patch)
tree668f7a3585192eabd6b250c7ac1fe6d39db7cfc1 /apps/files_trashbin/lib/Storage.php
parent80febeae21a30e0c1a040b99860983dfd484556b (diff)
downloadnextcloud-server-d703744d4afa9b387616ff6f6de574b652e125f1.tar.gz
nextcloud-server-d703744d4afa9b387616ff6f6de574b652e125f1.zip
Fix comparisions in the trashbin app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_trashbin/lib/Storage.php')
-rw-r--r--apps/files_trashbin/lib/Storage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Storage.php b/apps/files_trashbin/lib/Storage.php
index e3fe648281c..fdc7081b137 100644
--- a/apps/files_trashbin/lib/Storage.php
+++ b/apps/files_trashbin/lib/Storage.php
@@ -206,7 +206,7 @@ class Storage extends Wrapper {
return false;
}
- if ($this->userManager->userExists($parts[1]) && $parts[2] == 'files') {
+ if ($this->userManager->userExists($parts[1]) && $parts[2] === 'files') {
return true;
}