Skip to content
Snippets Groups Projects
Commit abcee56f authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #23474 from owncloud/RealRancor-exclude_lost_and_found

Exclude lost+found dir in integrity check
parents e6fb139e 5d170e05
No related branches found
No related tags found
No related merge requests found
......@@ -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 !== '') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment