Merge pull request #8055 from owncloud/getfileinfo-exists

dont scan not existing files in View->getFileInfo
remotes/origin/ldap_group_count
icewind1991 13 years ago
commit 4028301dea
  1. 3
      lib/private/files/view.php

@ -832,6 +832,9 @@ class View {
$user = \OC_User::getUser();
if (!$cache->inCache($internalPath)) {
if (!$storage->file_exists($internalPath)) {
return false;
}
$scanner = $storage->getScanner($internalPath);
$scanner->scan($internalPath, Cache\Scanner::SCAN_SHALLOW);
} else {

Loading…
Cancel
Save