Skip to content

Commit

Permalink
Not needed due to change in Horde_Crypt library
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 6, 2013
1 parent 89c02fe commit 70205ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imp/lib/Crypt/Pgp.php
Expand Up @@ -89,7 +89,7 @@ public function generatePersonalKeys($name, $email, $passphrase,
*/
public function addPersonalPublicKey($public_key)
{
$GLOBALS['prefs']->setValue('pgp_public_key', trim(is_array($public_key) ? implode('', $public_key) : $public_key));
$GLOBALS['prefs']->setValue('pgp_public_key', trim($public_key));
}

/**
Expand All @@ -100,7 +100,7 @@ public function addPersonalPublicKey($public_key)
*/
public function addPersonalPrivateKey($private_key)
{
$GLOBALS['prefs']->setValue('pgp_private_key', trim(is_array($private_key) ? implode('', $private_key) : $private_key));
$GLOBALS['prefs']->setValue('pgp_private_key', trim($private_key));
}

/**
Expand Down

0 comments on commit 70205ac

Please sign in to comment.