From f5f7e1f3e5394c82d708064a1cc67abe3c628af5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 3 Mar 2016 17:17:40 +0000 Subject: [PATCH] Bug 11998: Do not clear syspref cache in psgi file This in only in koha.psgi, it has been introduced by bug 13815 but should not have been added by this patch. Removing it should not introduce any changes. Not that it won't impact debian packages. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jacek Ablewicz --- misc/admin/koha-preferences | 1 + misc/plack/koha.psgi | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/admin/koha-preferences b/misc/admin/koha-preferences index eb23f87..15b7939 100755 --- a/misc/admin/koha-preferences +++ b/misc/admin/koha-preferences @@ -125,6 +125,7 @@ sub SetPreferences { _set_preference( $row->{'variable'}, $preferences{$row->{'variable'}} ); } + # FIXME This may be not needed C4::Context->clear_syspref_cache(); } diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi index 2415640..1953b5c 100644 --- a/misc/plack/koha.psgi +++ b/misc/plack/koha.psgi @@ -12,7 +12,6 @@ use CGI qw(-utf8 ); # we will loose -utf8 under plack *CGI::new = sub { my $q = $old_new->( @_ ); $CGI::PARAM_UTF8 = 1; - C4::Context->clear_syspref_cache(); return $q; }; } -- 1.7.10.4