mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Remove unused KeyPathHelper::TemplatesCache() and KeyPathHelper::PublicFile()
This commit is contained in:
parent
bd7f9856f2
commit
9dbf7b3bad
1 changed files with 0 additions and 11 deletions
|
|
@ -4,12 +4,6 @@ namespace RainLoop;
|
||||||
|
|
||||||
class KeyPathHelper
|
class KeyPathHelper
|
||||||
{
|
{
|
||||||
|
|
||||||
static public function PublicFile(string $sHash) : string
|
|
||||||
{
|
|
||||||
return '/Public/Files/'.\sha1($sHash).'/Data/';
|
|
||||||
}
|
|
||||||
|
|
||||||
static public function SsoCacherKey(string $sSsoHash) : string
|
static public function SsoCacherKey(string $sSsoHash) : string
|
||||||
{
|
{
|
||||||
return '/Sso/Data/'.$sSsoHash.'/Login/';
|
return '/Sso/Data/'.$sSsoHash.'/Login/';
|
||||||
|
|
@ -30,11 +24,6 @@ class KeyPathHelper
|
||||||
return '/LangCache/'.$sPluginsHash.'/'.$sLanguage.'/'.($bAdmim ? 'Admin' : 'App').'/'.APP_VERSION.'/';
|
return '/LangCache/'.$sPluginsHash.'/'.$sLanguage.'/'.($bAdmim ? 'Admin' : 'App').'/'.APP_VERSION.'/';
|
||||||
}
|
}
|
||||||
|
|
||||||
static public function TemplatesCache(bool $bAdmin, string $sPluginsHash) : string
|
|
||||||
{
|
|
||||||
return '/TemplatesCache/'.$sPluginsHash.'/'.($bAdmin ? 'Admin' : 'App').'/'.APP_VERSION.'/';
|
|
||||||
}
|
|
||||||
|
|
||||||
static public function PluginsJsCache(string $sPluginsHash) : string
|
static public function PluginsJsCache(string $sPluginsHash) : string
|
||||||
{
|
{
|
||||||
return '/PluginsJsCache/'.$sPluginsHash.'/'.APP_VERSION.'/';
|
return '/PluginsJsCache/'.$sPluginsHash.'/'.APP_VERSION.'/';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue