diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-09-17 14:32:33 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-09-17 14:32:33 -0400 |
commit | 643d1b29847685065eb9b0d46a1129a885147ec0 (patch) | |
tree | c5edccde6a517c13cc8b17912188bc8ea7b14478 /FS/FS/ClientAPI | |
parent | 77baa7974ade41e55d85de22e7d7a54273dd442f (diff) |
RT# 39340 - fixed skin_info caching issue
Diffstat (limited to 'FS/FS/ClientAPI')
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index ab11415..6cb0a7c 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -107,7 +107,7 @@ sub skin_info { $p->{'agentnum'} = $agentnum; my $conf = new FS::Conf; - + my $timeout = $conf->config('selfservice-session_timeout') || '1 hour'; #false laziness w/Signup.pm my $skin_info_cache_agent = _cache->get("skin_info_cache_agent$agentnum"); @@ -150,7 +150,7 @@ sub skin_info { 'menu' => _menu($domain,$menu), }; - _cache->set("skin_info_cache_agent$agentnum", $skin_info_cache_agent); + _cache->set("skin_info_cache_agent$agentnum", $skin_info_cache_agent, $timeout); } |