diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php index 77289e674b3e9..cbfefab181e6b 100644 --- a/lib/private/Files/Cache/Cache.php +++ b/lib/private/Files/Cache/Cache.php @@ -515,7 +515,8 @@ public function inCache($file) { */ public function remove($file) { $entry = $this->get($file); - + // when deleting the entry, encrypted is not save in database, so we ignore it + unset($entry['encrypted']); if ($entry) { $query = $this->getQueryBuilder(); $query->delete('filecache')