From 35b97ed67292efe1ba94996bd4ffb8b2c9694de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Tue, 31 Mar 2015 13:25:35 +0200 Subject: [PATCH] Adding renameKeys to IStorage --- lib/public/encryption/keys/istorage.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/public/encryption/keys/istorage.php b/lib/public/encryption/keys/istorage.php index 426057b80d..0a3ed44d37 100644 --- a/lib/public/encryption/keys/istorage.php +++ b/lib/public/encryption/keys/istorage.php @@ -113,7 +113,6 @@ interface IStorage { public function deleteAllFileKeys($path); /** - * delete system-wide encryption keys not related to a specific user, * e.g something like a key for public link shares * @@ -123,4 +122,14 @@ interface IStorage { */ public function deleteSystemUserKey($keyId); + /** + * move keys if a file was renamed + * + * @param string $source + * @param string $target + * @param string $owner + * @param bool $systemWide + */ + public function renameKeys($source, $target, $owner, $systemWide); + }