projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3832517
)
Revert "RT# 39340 - fixed skin_info caching issue"
author
Christopher Burger
<burgerc@freeside.biz>
Tue, 2 Oct 2018 16:47:45 +0000
(12:47 -0400)
committer
Christopher Burger
<burgerc@freeside.biz>
Wed, 3 Oct 2018 11:37:44 +0000
(07:37 -0400)
This reverts commit
643d1b29847685065eb9b0d46a1129a885147ec0
.
FS/FS/ClientAPI/MyAccount.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MyAccount.pm
b/FS/FS/ClientAPI/MyAccount.pm
index
4179cdb
..
a11a424
100644
(file)
--- 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);
}