Merge pull request #2350 from aschoenebeck/ignore_blacklisted_files
Filter display of blacklisted files
This commit is contained in:
commit
ebb2cb3403
|
@ -151,6 +151,7 @@ class Scanner {
|
||||||
private function isIgnoredFile($file) {
|
private function isIgnoredFile($file) {
|
||||||
if ($file === '.' || $file === '..'
|
if ($file === '.' || $file === '..'
|
||||||
|| pathinfo($file, PATHINFO_EXTENSION) === 'part'
|
|| pathinfo($file, PATHINFO_EXTENSION) === 'part'
|
||||||
|
|| \OC\Files\Filesystem::isFileBlacklisted($file)
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue