aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption/Exceptions/ModuleDoesNotExistsException.php
diff options
context:
space:
mode:
authorJonas Meurer <jonas@freesources.org>2022-01-12 15:28:34 +0100
committerJonas Meurer <jonas@freesources.org>2022-01-12 15:47:08 +0100
commita2f4c62c1914e7dfcac3229c2fda18ee54c0f150 (patch)
treee9c7c84875f71e485235837adcd5797a5a94e7ff /lib/private/Encryption/Exceptions/ModuleDoesNotExistsException.php
parentdb9fbc93072049b8816a683ca015ba53976db03a (diff)
downloadnextcloud-server-a2f4c62c1914e7dfcac3229c2fda18ee54c0f150.tar.gz
nextcloud-server-a2f4c62c1914e7dfcac3229c2fda18ee54c0f150.zip
updateEncryptedVersion: cleanup on target if cache already got renamed
When moving a file to trash with encryption enabled, the cache gets moved before the actual file. According to @icewind1991 this is in order to not break object storage. When moving a file from an unencrypted storage (e.g. a collectives storage) to the encrypted trashbin storage, this causes errors, see This commit fixes it by doing `updateEncryptedVersion()` on the target cache entry *if* the source cache entry doesn't exist anymore, but the corresponding target cache entry does exist already. Fixes: #26544 Signed-off-by: Jonas Meurer <jonas@freesources.org>
Diffstat (limited to 'lib/private/Encryption/Exceptions/ModuleDoesNotExistsException.php')
0 files changed, 0 insertions, 0 deletions