From 2fd1cf2e92040cc795eded90ba1f05c7e8c5c767 Mon Sep 17 00:00:00 2001
From: Roeland Jago Douma <roeland@famdouma.nl>
Date: Tue, 29 Nov 2016 22:01:04 +0100
Subject: [PATCH] Ignore AppData in encryption wrapper

Fixes part of #2407

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
---
 lib/private/Encryption/Util.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/Encryption/Util.php b/lib/private/Encryption/Util.php
index 0e8de5147e1..3afa1bb9596 100644
--- a/lib/private/Encryption/Util.php
+++ b/lib/private/Encryption/Util.php
@@ -97,6 +97,7 @@ class Util {
 		$this->config = $config;
 
 		$this->excludedPaths[] = 'files_encryption';
+		$this->excludedPaths[] = 'appdata_' . $config->getSystemValue('instanceid', null);
 	}
 
 	/**
-- 
GitLab