mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
New logic for storage provider (breaking changes)
This commit is contained in:
parent
44566aad4b
commit
51666d7c7e
19 changed files with 453 additions and 297 deletions
|
|
@ -4,36 +4,6 @@ namespace RainLoop;
|
|||
|
||||
class KeyPathHelper
|
||||
{
|
||||
/**
|
||||
* @param string $sEmail
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
static public function TwoFactorAuthUserData($sEmail)
|
||||
{
|
||||
return 'TwoFactorAuth/User/'.$sEmail.'/Data/';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sEmail
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
static public function WebmailAccounts($sEmail)
|
||||
{
|
||||
return 'Webmail/Accounts/'.$sEmail.'/Array';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sEmail
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
static public function WebmailAccountsOrder($sEmail)
|
||||
{
|
||||
return 'Webmail/AccountsSortOrder/'.$sEmail.'/Array';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sHash
|
||||
*
|
||||
|
|
@ -161,13 +131,13 @@ class KeyPathHelper
|
|||
|
||||
/**
|
||||
* @param string $sTheme
|
||||
* @param string $sPluginsHash
|
||||
* @param string $sHash
|
||||
* @param string $sPublickHash
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
static public function CssCache($sTheme, $sPluginsHash, $sPublickHash = '')
|
||||
static public function CssCache($sTheme, $sHash)
|
||||
{
|
||||
return '/CssCache/'.$sPluginsHash.'/'.$sPublickHash.'/'.$sTheme.'/'.APP_VERSION.'/';
|
||||
return '/CssCache/'.$sHash.'/'.$sTheme.'/'.APP_VERSION.'/';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue