Remove unused KeyPathHelper::TemplatesCache() and KeyPathHelper::PublicFile()

This commit is contained in:
the-djmaze 2023-03-07 14:41:42 +01:00
parent bd7f9856f2
commit 9dbf7b3bad

View file

@ -4,12 +4,6 @@ namespace RainLoop;
class KeyPathHelper
{
static public function PublicFile(string $sHash) : string
{
return '/Public/Files/'.\sha1($sHash).'/Data/';
}
static public function SsoCacherKey(string $sSsoHash) : string
{
return '/Sso/Data/'.$sSsoHash.'/Login/';
@ -30,11 +24,6 @@ class KeyPathHelper
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
{
return '/PluginsJsCache/'.$sPluginsHash.'/'.APP_VERSION.'/';