summaryrefslogtreecommitdiffstats
path: root/lib/public/encryption
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-02 16:25:01 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:31 +0200
commitfe74a0cb4f319ac9dccfce8c296365c3535ef84e (patch)
treedf5c6034c6722c5687ce6f9c7415d4b8adf8d445 /lib/public/encryption
parent8991272269632bc094fb8ad537d5af5a1bc372b5 (diff)
downloadnextcloud-server-fe74a0cb4f319ac9dccfce8c296365c3535ef84e.tar.gz
nextcloud-server-fe74a0cb4f319ac9dccfce8c296365c3535ef84e.zip
implement webdav copy
Diffstat (limited to 'lib/public/encryption')
-rw-r--r--lib/public/encryption/keys/istorage.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/public/encryption/keys/istorage.php b/lib/public/encryption/keys/istorage.php
index 0a3ed44d378..2d1672face5 100644
--- a/lib/public/encryption/keys/istorage.php
+++ b/lib/public/encryption/keys/istorage.php
@@ -123,13 +123,19 @@ interface IStorage {
public function deleteSystemUserKey($keyId);
/**
+ * copy keys if a file was renamed
+ *
+ * @param string $source
+ * @param string $target
+ */
+ public function renameKeys($source, $target);
+
+ /**
* 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);
+ public function copyKeys($source, $target);
}