diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-01-06 15:27:03 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-01-06 15:27:03 +0100 |
commit | 5f6da758b725b644d5b4f39fb35543a7e0599dc8 (patch) | |
tree | 106df6a1b918a87810567cafd53b1ccdc3fdc602 /apps/files | |
parent | 622c4cf77903470bc7ddc1df5b74d5e17a0e70c7 (diff) | |
download | nextcloud-server-5f6da758b725b644d5b4f39fb35543a7e0599dc8.tar.gz nextcloud-server-5f6da758b725b644d5b4f39fb35543a7e0599dc8.zip |
Fix check if a path argument is passed to occ files:scan
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/command/scan.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/command/scan.php b/apps/files/command/scan.php index 7cf401c7b59..87f799a0187 100644 --- a/apps/files/command/scan.php +++ b/apps/files/command/scan.php @@ -77,7 +77,7 @@ class Scan extends Command { protected function execute(InputInterface $input, OutputInterface $output) { $path = $input->getOption('path'); - if ($path !== false) { + if ($path) { $path = '/'.trim($path, '/'); list (, $user, ) = explode('/', $path, 3); $users = array($user); |