mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 17:18:48 -04:00
Switch scan to scanFile for root of mount points
This commit is contained in:
parent
aa15fcf22f
commit
4835525c46
1 changed files with 2 additions and 2 deletions
|
|
@ -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('');
|
||||
|
|
|
|||
Loading…
Reference in a new issue