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) {
|
if ($subStorage) {
|
||||||
$subCache = $subStorage->getCache('');
|
$subCache = $subStorage->getCache('');
|
||||||
|
|
||||||
if ($subCache->getStatus('') < Cache\Cache::COMPLETE) {
|
if ($subCache->getStatus('') === Cache\Cache::NOT_FOUND) {
|
||||||
$subScanner = $subStorage->getScanner('');
|
$subScanner = $subStorage->getScanner('');
|
||||||
$subScanner->scan('', Cache\Scanner::SCAN_SHALLOW);
|
$subScanner->scanFile('');
|
||||||
} else {
|
} else {
|
||||||
$subWatcher = $subStorage->getWatcher('');
|
$subWatcher = $subStorage->getWatcher('');
|
||||||
$subWatcher->checkUpdate('');
|
$subWatcher->checkUpdate('');
|
||||||
|
|
Loading…
Reference in New Issue