Switch scan to scanFile for root of mount points

This commit is contained in:
Michael Gapczynski 2013-01-10 22:28:50 -05:00
parent aa15fcf22f
commit 4835525c46
1 changed files with 2 additions and 2 deletions

View File

@ -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('');