mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 15:45:55 +08:00
Rename SearchPGPKey action to PgpSearchKey
This commit is contained in:
parent
2fa3508c11
commit
2f2079e9c1
|
@ -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);
|
||||||
|
|
|
@ -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', '')
|
||||||
|
|
Loading…
Reference in a new issue