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