]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adding renameKeys to IStorage
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 31 Mar 2015 11:25:35 +0000 (13:25 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 7 Apr 2015 11:30:29 +0000 (13:30 +0200)
lib/public/encryption/keys/istorage.php

index 426057b80d04094eb1dc8deadcfc1691e452ebea..0a3ed44d378cb48b02959f1f0a3194e1364ec258 100644 (file)
@@ -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);
+
 }