mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +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) {
|
||||
throw new \Exception(($private ? 'Private' : 'Public') . ' key not found: ' . $keyId);
|
||||
}
|
||||
if (!$private && $this->keyInfo($keyId, 1)) {
|
||||
throw new \Exception('Delete private key first: ' . $keyId);
|
||||
}
|
||||
// if (!$private && $this->keyInfo($keyId, 1)) {
|
||||
// throw new \Exception('Delete private key first: ' . $keyId);
|
||||
// }
|
||||
|
||||
$result = $this->exec([
|
||||
'--batch',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue