summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRealRancor <Fisch.666@gmx.de>2016-03-19 14:08:21 +0100
committerRealRancor <Fisch.666@gmx.de>2016-03-19 14:08:21 +0100
commitdee0bbbbcee71ad2206837679d0052f029a1e16d (patch)
tree82426fa39aca30d4acfe381575f53383c970a1d5 /lib
parent9c053ed46521467efc1838e806a5481e8390eac7 (diff)
downloadnextcloud-server-dee0bbbbcee71ad2206837679d0052f029a1e16d.tar.gz
nextcloud-server-dee0bbbbcee71ad2206837679d0052f029a1e16d.zip
Exclude lost+found dir in integrity check
Diffstat (limited to 'lib')
-rw-r--r--lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php b/lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php
index 766897e7517..1082e97c296 100644
--- a/lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php
+++ b/lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php
@@ -34,10 +34,11 @@ class ExcludeFoldersByPathFilterIterator extends \RecursiveFilterIterator {
$excludedFolders = [
rtrim($root . '/data', '/'),
- rtrim($root .'/themes', '/'),
+ rtrim($root . '/themes', '/'),
rtrim($root . '/config', '/'),
rtrim($root . '/apps', '/'),
rtrim($root . '/assets', '/'),
+ rtrim($root . '/lost+found', '/'),
];
$customDataDir = \OC::$server->getConfig()->getSystemValue('datadirectory', '');
if($customDataDir !== '') {