diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-10-02 12:47:45 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-10-03 07:37:44 -0400 |
commit | b12396807379004bfdd4d9e30b9f8f502b706b9e (patch) | |
tree | 6eb3be00558627263c31b6433c982c1f7218400a /FS/FS/ClientAPI | |
parent | 38325179924657f797e54a0fba4b1b09a86704b2 (diff) |
Revert "RT# 39340 - fixed skin_info caching issue"
This reverts commit 643d1b29847685065eb9b0d46a1129a885147ec0.
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 4179cdb..a11a424 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, $timeout); + _cache->set("skin_info_cache_agent$agentnum", $skin_info_cache_agent); } |