From 126ded8d122633dfc104ccf50b936d2c958adaf8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 3 Mar 2016 17:17:40 +0000 Subject: [PATCH] Bug 15970: 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. --- 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 2548444..89dbb65 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; }; } -- 2.7.0