summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-31 13:25:35 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:29 +0200
commit35b97ed67292efe1ba94996bd4ffb8b2c9694de9 (patch)
tree4289a2d940372e19f2a242d476b90890c128902a /lib/public
parent4db75e34074fa34d5558754e751b726338180e28 (diff)
downloadnextcloud-server-35b97ed67292efe1ba94996bd4ffb8b2c9694de9.tar.gz
nextcloud-server-35b97ed67292efe1ba94996bd4ffb8b2c9694de9.zip
Adding renameKeys to IStorage
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/encryption/keys/istorage.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/public/encryption/keys/istorage.php b/lib/public/encryption/keys/istorage.php
index 426057b80d0..0a3ed44d378 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);
+
}