mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 01:17:04 +03:00
Resolve #1384
This commit is contained in:
parent
9933a0e83e
commit
3c464cace5
1 changed files with 3 additions and 3 deletions
|
|
@ -427,9 +427,9 @@ class PGP extends Base
|
||||||
if (!$key) {
|
if (!$key) {
|
||||||
throw new \Exception(($private ? 'Private' : 'Public') . ' key not found: ' . $keyId);
|
throw new \Exception(($private ? 'Private' : 'Public') . ' key not found: ' . $keyId);
|
||||||
}
|
}
|
||||||
if (!$private && $this->keyInfo($keyId, 1)) {
|
// if (!$private && $this->keyInfo($keyId, 1)) {
|
||||||
throw new \Exception('Delete private key first: ' . $keyId);
|
// throw new \Exception('Delete private key first: ' . $keyId);
|
||||||
}
|
// }
|
||||||
|
|
||||||
$result = $this->exec([
|
$result = $this->exec([
|
||||||
'--batch',
|
'--batch',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue