Also exclude __apps

Workaround for https://github.com/owncloud/updater/issues/331 for 9.0.2
This commit is contained in:
Lukas Reschke 2016-04-26 11:52:47 +02:00 committed by Vincent Petry
parent 1087385cae
commit 590ed3edda
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class ExcludeFoldersByPathFilterIterator extends \RecursiveFilterIterator {
// See https://github.com/owncloud/updater/issues/318#issuecomment-212497846
rtrim($root . '/updater', '/'),
rtrim($root . '/_oc_upgrade', '/'),
rtrim($root . '/__apps', '/'),
];
$customDataDir = \OC::$server->getConfig()->getSystemValue('datadirectory', '');
if($customDataDir !== '') {