Switch scan to scanFile for root of mount points
This commit is contained in:
parent
aa15fcf22f
commit
4835525c46
|
@ -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 New Issue