Merge pull request #23475 from owncloud/stable9-RealRancor-exclude_lost_and_found
[stable9] Exclude lost+found dir in integrity check
This commit is contained in:
commit
6edf403f3f
|
@ -34,10 +34,11 @@ class ExcludeFoldersByPathFilterIterator extends \RecursiveFilterIterator {
|
||||||
|
|
||||||
$excludedFolders = [
|
$excludedFolders = [
|
||||||
rtrim($root . '/data', '/'),
|
rtrim($root . '/data', '/'),
|
||||||
rtrim($root .'/themes', '/'),
|
rtrim($root . '/themes', '/'),
|
||||||
rtrim($root . '/config', '/'),
|
rtrim($root . '/config', '/'),
|
||||||
rtrim($root . '/apps', '/'),
|
rtrim($root . '/apps', '/'),
|
||||||
rtrim($root . '/assets', '/'),
|
rtrim($root . '/assets', '/'),
|
||||||
|
rtrim($root . '/lost+found', '/'),
|
||||||
];
|
];
|
||||||
$customDataDir = \OC::$server->getConfig()->getSystemValue('datadirectory', '');
|
$customDataDir = \OC::$server->getConfig()->getSystemValue('datadirectory', '');
|
||||||
if($customDataDir !== '') {
|
if($customDataDir !== '') {
|
||||||
|
|
Loading…
Reference in New Issue