mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #2350 from aschoenebeck/ignore_blacklisted_files
Filter display of blacklisted files
This commit is contained in:
commit
ebb2cb3403
1 changed files with 1 additions and 0 deletions
1
lib/files/cache/scanner.php
vendored
1
lib/files/cache/scanner.php
vendored
|
|
@ -151,6 +151,7 @@ class Scanner {
|
|||
private function isIgnoredFile($file) {
|
||||
if ($file === '.' || $file === '..'
|
||||
|| pathinfo($file, PATHINFO_EXTENSION) === 'part'
|
||||
|| \OC\Files\Filesystem::isFileBlacklisted($file)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue