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:
Jonathan Druart 2016-03-03 17:17:40 +00:00 committed by Julian Maurice
parent dcf02d0a1a
commit 38820140fc
2 changed files with 1 additions and 1 deletions

View File

@ -125,6 +125,7 @@ sub SetPreferences {
_set_preference( $row->{'variable'}, $preferences{$row->{'variable'}} );
}
# FIXME This may be not needed
C4::Context->clear_syspref_cache();
}

View 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;
};
}