Merge pull request #23474 from owncloud/RealRancor-exclude_lost_and_found
Exclude lost+found dir in integrity check
This commit is contained in:
commit
abcee56fe3
1 changed files with 2 additions and 1 deletions
|
@ -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 !== '') {
|
||||
|
|
Loading…
Reference in a new issue