diff options
author | RealRancor <Fisch.666@gmx.de> | 2016-03-19 14:08:21 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-22 12:59:18 +0100 |
commit | b3ead7568df0fe6215bcc4c5e084c381b78cf48c (patch) | |
tree | 776b85cf5a11f9f1991c11fb6c93ed33f61d8545 /lib | |
parent | ae2c207b6e9c937b26a00aa786d6517897304d51 (diff) | |
download | nextcloud-server-b3ead7568df0fe6215bcc4c5e084c381b78cf48c.tar.gz nextcloud-server-b3ead7568df0fe6215bcc4c5e084c381b78cf48c.zip |
Exclude lost+found dir in integrity check
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php | 3 |
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 !== '') { |