summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r--lib/DBInfoscreen.pm18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index a3f22bf..c33a703 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -38,12 +38,6 @@ sub startup {
chomp $self->config->{version};
$self->defaults( version => $self->config->{version} // 'UNKNOWN' );
- $self->plugin(
- I18N => {
- default => 'de',
- },
- );
-
# Generally, the reverse proxy handles compression.
# Also, Mojolicious compression breaks legacy callback-based JSON endpoints
# for some clients.
@@ -62,18 +56,6 @@ sub startup {
if ( $cookie->name eq 'theme' ) {
$self->session( theme => $cookie->value );
}
- elsif ( $cookie->name eq 'lang' ) {
- my $l = $cookie->value;
- if ( $l eq 'de' or $l eq 'en' ) {
- $self->languages($l);
- }
- }
- }
-
- if ( my $l = $self->param('lang') ) {
- if ( $l eq 'de' or $l eq 'en' ) {
- $self->languages($l);
- }
}
}
);