From 5fe84df65a55868bbc730bbcd8a8dbb4de7a7593 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 24 Oct 2009 00:34:34 +0000 Subject: selfservice per-agent skinning --- FS/bin/freeside-selfservice-server | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'FS/bin') diff --git a/FS/bin/freeside-selfservice-server b/FS/bin/freeside-selfservice-server index 544f307ee..f72d0ab61 100644 --- a/FS/bin/freeside-selfservice-server +++ b/FS/bin/freeside-selfservice-server @@ -72,6 +72,13 @@ my $cache = new FS::ClientAPI_SessionCache( { } ); $cache->remove('signup_info_cache'); +#and also clear the selfservice skin info cache, for the same reason +my $ss_cache = new FS::ClientAPI_SessionCache( { + 'namespace' => 'FS::ClientAPI::MyAccount', +} ); +$ss_cache->remove($_) + foreach grep /^skin_info_cache_agent/, $ss_cache->get_keys(); + my $clientd = "/usr/local/sbin/freeside-selfservice-clientd"; #better name? my $warnkids=0; -- cgit v1.2.1