diff options
author | Florin Peter <github@florin-peter.de> | 2013-05-20 21:46:28 +0200 |
---|---|---|
committer | Florin Peter <github@florin-peter.de> | 2013-05-20 21:46:28 +0200 |
commit | 1c8e5d6873b1190d73b4139ca9fd7e710ae5d1a3 (patch) | |
tree | 534ec37bf115ad2845031915c8a6d68b7dd23594 /apps/files_encryption/hooks | |
parent | 1fa2f19ee44cc4a25bda784aee46ab2dac28e658 (diff) | |
download | nextcloud-server-1c8e5d6873b1190d73b4139ca9fd7e710ae5d1a3.tar.gz nextcloud-server-1c8e5d6873b1190d73b4139ca9fd7e710ae5d1a3.zip |
added test for failed sharing
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r-- | apps/files_encryption/hooks/hooks.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php index 90a93b4c52d..e3196480457 100644 --- a/apps/files_encryption/hooks/hooks.php +++ b/apps/files_encryption/hooks/hooks.php @@ -208,6 +208,9 @@ class Hooks { /*
* @brief check if files can be encrypted to every user.
*/
+ /**
+ * @param $params
+ */
public static function preShared($params) {
$users = array();
@@ -229,7 +232,6 @@ class Hooks { $params['run']->run = false;
// TODO: Make sure files_sharing provides user
// feedback on failed share
- break;
}
}
}
|