Bug 11998: Do not clear syspref cache in psgi file
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 3 Mar 2016 17:17:40 +0000 (17:17 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 15 Mar 2016 07:08:29 +0000 (07:08 +0000)
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 <tomascohen@unc.edu.ar>
Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
misc/admin/koha-preferences
misc/plack/koha.psgi

index eb23f87..15b7939 100755 (executable)
@@ -125,6 +125,7 @@ sub SetPreferences {
         _set_preference( $row->{'variable'}, $preferences{$row->{'variable'}} );
     }
 
+    # FIXME This may be not needed
     C4::Context->clear_syspref_cache();
 }
 
index 2415640..1953b5c 100644 (file)
@@ -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;
     };
 }