Bugzilla – Attachment 48641 Details for
Bug 15970
Plack should not clear syspref cache
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15970: Do not clear syspref cache in psgi file
Bug-15970-Do-not-clear-syspref-cache-in-psgi-file.patch (text/plain), 1.30 KB, created by
Jonathan Druart
on 2016-03-03 17:19:39 UTC
(
hide
)
Description:
Bug 15970: Do not clear syspref cache in psgi file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-03 17:19:39 UTC
Size:
1.30 KB
patch
obsolete
>From 126ded8d122633dfc104ccf50b936d2c958adaf8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15970
: 48641