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 <tomascohen@unc.edu.ar>
Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit f25e3ed90b)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
dcf02d0a1a
commit
38820140fc
|
|
@ -125,6 +125,7 @@ sub SetPreferences {
|
|||
_set_preference( $row->{'variable'}, $preferences{$row->{'variable'}} );
|
||||
}
|
||||
|
||||
# FIXME This may be not needed
|
||||
C4::Context->clear_syspref_cache();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue