mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
bugfix: undefined $keyId
This commit is contained in:
parent
e727c54798
commit
de7e9d86d3
1 changed files with 0 additions and 1 deletions
|
|
@ -44,7 +44,6 @@ class Backup
|
||||||
$oActions = \RainLoop\Api::Actions();
|
$oActions = \RainLoop\Api::Actions();
|
||||||
$oAccount = $oActions->getMainAccountFromToken();
|
$oAccount = $oActions->getMainAccountFromToken();
|
||||||
if ($oAccount) {
|
if ($oAccount) {
|
||||||
$keyId = $keyId ? "0x{$keyId}" : \sha1($key);
|
|
||||||
$dir = $oActions->StorageProvider()->GenerateFilePath(
|
$dir = $oActions->StorageProvider()->GenerateFilePath(
|
||||||
$oAccount,
|
$oAccount,
|
||||||
\RainLoop\Providers\Storage\Enumerations\StorageType::PGP,
|
\RainLoop\Providers\Storage\Enumerations\StorageType::PGP,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue