From 96c3d84cddb861956cfbc719d694eb972343f1c3 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sat, 02 Apr 2016 04:35:17 -0400 Subject: [PATCH] Enigma: Varius fixes and cleanup in code for attaching pubkeys --- plugins/enigma/lib/enigma_driver_gnupg.php | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/plugins/enigma/lib/enigma_driver_gnupg.php b/plugins/enigma/lib/enigma_driver_gnupg.php index ab4aa45..5ddf724 100644 --- a/plugins/enigma/lib/enigma_driver_gnupg.php +++ b/plugins/enigma/lib/enigma_driver_gnupg.php @@ -339,17 +339,6 @@ } } - public function pubkey_for_attach($email) - { - try { - $pubkey = $this->gpg->exportPublicKey($email, true); - return $pubkey; - } - catch (Exception $e) { - return $this->get_error_from_exception($e); - } - } - /** * Converts Crypt_GPG exception into Enigma's error object * -- Gitblit v1.9.1