From 38820140fc17cbc6926aa6d369c8be415a54b640 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 Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com (cherry picked from commit f25e3ed90b55b657c71e117a1e9a8bc2c3a1809f) Signed-off-by: Julian Maurice --- 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 eb23f87823..15b79391b3 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 2415640b84..1953b5c86c 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.39.5