aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/hooks
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-20 21:46:28 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-20 21:46:28 +0200
commit1c8e5d6873b1190d73b4139ca9fd7e710ae5d1a3 (patch)
tree534ec37bf115ad2845031915c8a6d68b7dd23594 /apps/files_encryption/hooks
parent1fa2f19ee44cc4a25bda784aee46ab2dac28e658 (diff)
downloadnextcloud-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.php4
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;
}
}
}