diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-10 22:28:50 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-10 22:28:50 -0500 |
commit | 4835525c469d5ac75104e92c2dfbbb049d62890c (patch) | |
tree | ad4e31ff8d1225f54c911f0e84a8f850add9883f /lib/files/view.php | |
parent | aa15fcf22f4c32026eca5ff8ae5e5df244f2c53e (diff) | |
download | nextcloud-server-4835525c469d5ac75104e92c2dfbbb049d62890c.tar.gz nextcloud-server-4835525c469d5ac75104e92c2dfbbb049d62890c.zip |
Switch scan to scanFile for root of mount points
Diffstat (limited to 'lib/files/view.php')
-rw-r--r-- | lib/files/view.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/files/view.php b/lib/files/view.php index 703cda5123c..fa031b7478d 100644 --- a/lib/files/view.php +++ b/lib/files/view.php @@ -768,9 +768,9 @@ class View { if ($subStorage) { $subCache = $subStorage->getCache(''); - if ($subCache->getStatus('') < Cache\Cache::COMPLETE) { + if ($subCache->getStatus('') === Cache\Cache::NOT_FOUND) { $subScanner = $subStorage->getScanner(''); - $subScanner->scan('', Cache\Scanner::SCAN_SHALLOW); + $subScanner->scanFile(''); } else { $subWatcher = $subStorage->getWatcher(''); $subWatcher->checkUpdate(''); |