From 1c8e5d6873b1190d73b4139ca9fd7e710ae5d1a3 Mon Sep 17 00:00:00 2001 From: Florin Peter Date: Mon, 20 May 2013 21:46:28 +0200 Subject: added test for failed sharing --- apps/files_encryption/hooks/hooks.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/files_encryption/hooks') 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; } } } -- cgit v1.2.3