summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Command
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-10 14:12:58 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-01 13:56:12 +0200
commit7a62fbd205874355abb3b551b182bc61b9c3d3e1 (patch)
tree8fba151653401d4af74f2091fb7d2e6add45f00e /apps/files_external/lib/Command
parente30287cf814bca99b01561df0e60fb00c59ade42 (diff)
downloadnextcloud-server-7a62fbd205874355abb3b551b182bc61b9c3d3e1.tar.gz
nextcloud-server-7a62fbd205874355abb3b551b182bc61b9c3d3e1.zip
Fix comparisons in the files external app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_external/lib/Command')
-rw-r--r--apps/files_external/lib/Command/Import.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/Command/Import.php b/apps/files_external/lib/Command/Import.php
index 96afc86ba2c..712a8851c8a 100644
--- a/apps/files_external/lib/Command/Import.php
+++ b/apps/files_external/lib/Command/Import.php
@@ -161,8 +161,8 @@ class Import extends Base {
if (
$existingMount->getMountPoint() === $mount->getMountPoint() &&
$existingMount->getApplicableGroups() === $mount->getApplicableGroups() &&
- $existingMount->getApplicableUsers() == $mount->getApplicableUsers() &&
- $existingMount->getBackendOptions() == $mount->getBackendOptions()
+ $existingMount->getApplicableUsers() === $mount->getApplicableUsers() &&
+ $existingMount->getBackendOptions() === $mount->getBackendOptions()
) {
$output->writeln("<error>Duplicate mount (" . $mount->getMountPoint() . ")</error>");
return 1;