aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-25 22:20:10 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-01-25 22:20:10 +0100
commit7800a9bc24d50d3eed40f8b1d40236a262b4f8ef (patch)
tree8d439d4743df537769ea2bfd97ffa42a9041ceec /apps/files_sharing
parentb9bbb894f8b01e000bb5e3a8a82db7bebad3ea00 (diff)
downloadnextcloud-server-7800a9bc24d50d3eed40f8b1d40236a262b4f8ef.tar.gz
nextcloud-server-7800a9bc24d50d3eed40f8b1d40236a262b4f8ef.zip
Fix array method usages with a proper call
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/lib/Migration/OwncloudGuestShareType.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php b/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php
index 07f739fb702..33812c5a43e 100644
--- a/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php
+++ b/apps/files_sharing/lib/Migration/OwncloudGuestShareType.php
@@ -75,7 +75,7 @@ class OwncloudGuestShareType implements IRepairStep {
protected function shouldRun() {
$appVersion = $this->config->getAppValue('files_sharing', 'installed_version', '0.0.0');
- return in_array($appVersion, ['0.10.0']) ||
+ return $appVersion === '0.10.0' ||
$this->config->getAppValue('core', 'vendor', '') === 'owncloud';
}