Skip to content
Snippets Groups Projects
Commit 2b07afc8 authored by Sam Tuke's avatar Sam Tuke
Browse files

Removed debugging code

parent ae8cfe65
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ OC_FileProxy::register( new OCA\Encryption\Proxy() );
// User-related hooks
OCP\Util::connectHook( 'OC_User', 'post_login', 'OCA\Encryption\Hooks', 'login' );
OCP\Util::connectHook( 'OC_User', 'post_setPassword','OCA\Encryption\Hooks', 'setPassphrase' );
OCP\Util::connectHook( 'OC_User', 'pre_setPassword','OCA\Encryption\Hooks', 'setPassphrase' );
// Sharing-related hooks
OCP\Util::connectHook( 'OCP\Share', 'post_shared', 'OCA\Encryption\Hooks', 'postShared' );
......
......@@ -107,7 +107,7 @@ class Hooks {
* @param array $params keys: uid, password
*/
public static function setPassphrase( $params ) {
trigger_error("HOSH");
// Only attempt to change passphrase if server-side encryption
// is in use (client-side encryption does not have access to
// the necessary keys)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment