diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-10-02 12:47:45 -0400 | 
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-10-02 14:34:51 -0400 | 
| commit | 37f031964f85869839da8145f3179141a2933843 (patch) | |
| tree | 1ed0343ff13d9c530542fb0f77324be8bebdf79d | |
| parent | 07e67fc794333105b8832ff4f9aa70d407c6b8f3 (diff) | |
Revert "RT# 39340 - fixed skin_info caching issue"
This reverts commit 643d1b29847685065eb9b0d46a1129a885147ec0.
| -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 c1b6ec204..5bccad199 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -106,7 +106,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"); @@ -149,7 +149,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);    } | 
