diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-09 14:45:40 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-09 14:45:40 +0200 |
commit | 1d9bd3d31e26d7a43940e0048199ea86a621cc57 (patch) | |
tree | f47b5b7e673344788c939a363a40e098be578483 /lib/public | |
parent | 9246c7e8ee2391f1c23d85dd0db2ca50968e6a4d (diff) | |
parent | 45575d0135368169af71379a39c8914e7a1cf524 (diff) | |
download | nextcloud-server-1d9bd3d31e26d7a43940e0048199ea86a621cc57.tar.gz nextcloud-server-1d9bd3d31e26d7a43940e0048199ea86a621cc57.zip |
Merge pull request #15496 from owncloud/enc-check-if-key-exists-before-deleting
Check if the key exists, before trying to delete it
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/encryption/keys/istorage.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/encryption/keys/istorage.php b/lib/public/encryption/keys/istorage.php index 898ab81c373..c6933e7afab 100644 --- a/lib/public/encryption/keys/istorage.php +++ b/lib/public/encryption/keys/istorage.php @@ -89,7 +89,7 @@ interface IStorage { * @param string $uid ID if the user for whom we want to delete the key * @param string $keyId id of the key * - * @return boolean + * @return boolean False when the key could not be deleted */ public function deleteUserKey($uid, $keyId); @@ -99,7 +99,7 @@ interface IStorage { * @param string $path path to file * @param string $keyId id of the key * - * @return boolean + * @return boolean False when the key could not be deleted */ public function deleteFileKey($path, $keyId); @@ -107,7 +107,7 @@ interface IStorage { * delete all file keys for a given file * * @param string $path to the file - * @return boolean + * @return boolean False when the keys could not be deleted */ public function deleteAllFileKeys($path); @@ -117,7 +117,7 @@ interface IStorage { * * @param string $keyId id of the key * - * @return boolean + * @return boolean False when the key could not be deleted */ public function deleteSystemUserKey($keyId); |