From 2f2079e9c1bad59d1beaf27095a10fb81f75694c Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 19 Feb 2024 17:39:56 +0100 Subject: [PATCH] Rename SearchPGPKey action to PgpSearchKey --- dev/View/Popup/OpenPgpImport.js | 2 +- snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/View/Popup/OpenPgpImport.js b/dev/View/Popup/OpenPgpImport.js index c62695f74..90f7e5c84 100644 --- a/dev/View/Popup/OpenPgpImport.js +++ b/dev/View/Popup/OpenPgpImport.js @@ -32,7 +32,7 @@ export class OpenPgpImportPopupView extends AbstractViewPopup { searchPGP() { this.key(i18n('SUGGESTIONS/SEARCHING_DESC')); - const fn = () => Remote.request('SearchPGPKey', + const fn = () => Remote.request('PgpSearchKey', (iError, oData) => { if (iError) { this.key(oData.ErrorMessage); diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php index 1429260cd..4389dc326 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php @@ -36,7 +36,7 @@ trait Pgp return $this->DefaultResponse(\array_values(\array_unique($result))); } - public function DoSearchPGPKey() : array + public function DoPgpSearchKey() : array { $result = Keyservers::get( $this->GetActionParam('query', '')