mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-27 19:19:21 +03:00
Bugfix: PHP 8 error
This commit is contained in:
parent
e1e7a650fb
commit
7d077b0997
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ abstract class Upgrade
|
|||
/**
|
||||
* Attempt to convert the old less secure data into better secured data
|
||||
*/
|
||||
public function ConvertInsecureAccounts(\RainLoop\Actions $oActions, \RainLoop\Model\MainAccount $oMainAccount) : array
|
||||
public static function ConvertInsecureAccounts(\RainLoop\Actions $oActions, \RainLoop\Model\MainAccount $oMainAccount) : array
|
||||
{
|
||||
$oStorage = $oActions->StorageProvider();
|
||||
$sAccounts = $oStorage->Get($oMainAccount, StorageType::CONFIG, 'accounts');
|
||||
|
|
@ -86,7 +86,7 @@ abstract class Upgrade
|
|||
/**
|
||||
* Attempt to convert the old less secure data into better secured data
|
||||
*/
|
||||
public function ConvertInsecureContactsSync(\RainLoop\Actions $oActions, \RainLoop\Model\Account $oAccount) : ?array
|
||||
public static function ConvertInsecureContactsSync(\RainLoop\Actions $oActions, \RainLoop\Model\Account $oAccount) : ?array
|
||||
{
|
||||
$sData = $oActions->StorageProvider()->Get($oAccount,
|
||||
\RainLoop\Providers\Storage\Enumerations\StorageType::CONFIG,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue