Rename SearchPGPKey action to PgpSearchKey

This commit is contained in:
the-djmaze 2024-02-19 17:39:56 +01:00
parent 2fa3508c11
commit 2f2079e9c1
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ export class OpenPgpImportPopupView extends AbstractViewPopup {
searchPGP() { searchPGP() {
this.key(i18n('SUGGESTIONS/SEARCHING_DESC')); this.key(i18n('SUGGESTIONS/SEARCHING_DESC'));
const fn = () => Remote.request('SearchPGPKey', const fn = () => Remote.request('PgpSearchKey',
(iError, oData) => { (iError, oData) => {
if (iError) { if (iError) {
this.key(oData.ErrorMessage); this.key(oData.ErrorMessage);

View file

@ -36,7 +36,7 @@ trait Pgp
return $this->DefaultResponse(\array_values(\array_unique($result))); return $this->DefaultResponse(\array_values(\array_unique($result)));
} }
public function DoSearchPGPKey() : array public function DoPgpSearchKey() : array
{ {
$result = Keyservers::get( $result = Keyservers::get(
$this->GetActionParam('query', '') $this->GetActionParam('query', '')