summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorivan <ivan>2009-10-24 00:34:34 +0000
committerivan <ivan>2009-10-24 00:34:34 +0000
commit5fe84df65a55868bbc730bbcd8a8dbb4de7a7593 (patch)
tree6a9c450ec7ba27b445cd14a88641817990dc2ad0 /FS/bin
parent533ec07f55d88660646c12ecec467b2946b6924f (diff)
selfservice per-agent skinning
Diffstat (limited to 'FS/bin')
-rw-r--r--FS/bin/freeside-selfservice-server7
1 files changed, 7 insertions, 0 deletions
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;