Commit b50eaa02 authored by intrigeri's avatar intrigeri

Drop unneeded call to setlocale

parent c3376d6f
...@@ -41,10 +41,6 @@ use Try::Tiny; ...@@ -41,10 +41,6 @@ use Try::Tiny;
use XML::Atom; use XML::Atom;
use XML::Atom::Feed; use XML::Atom::Feed;
### initialization
POSIX::setlocale(&POSIX::LC_MESSAGES, '');
### configuration ### configuration
my $default_base_url = 'https://tails.boum.org/security/'; my $default_base_url = 'https://tails.boum.org/security/';
......
...@@ -30,7 +30,6 @@ use Locale::TextDomain 'tails'; ...@@ -30,7 +30,6 @@ use Locale::TextDomain 'tails';
### initialization ### initialization
POSIX::setlocale(&POSIX::LC_MESSAGES, '');
my $htp_done_file = '/run/htpdate/done'; my $htp_done_file = '/run/htpdate/done';
my $htp_success_file = '/run/htpdate/success'; my $htp_success_file = '/run/htpdate/success';
my $htp_log_file = '/var/log/htpdate.log'; my $htp_log_file = '/var/log/htpdate.log';
......
...@@ -28,10 +28,6 @@ use IPC::System::Simple qw{capturex $EXITVAL}; ...@@ -28,10 +28,6 @@ use IPC::System::Simple qw{capturex $EXITVAL};
use Locale::TextDomain 'tails'; use Locale::TextDomain 'tails';
use Net::DBus::Reactor; use Net::DBus::Reactor;
### initialization
POSIX::setlocale(&POSIX::LC_MESSAGES, '');
### callbacks ### callbacks
sub action_cb { sub action_cb {
......
...@@ -40,7 +40,6 @@ use namespace::clean; ...@@ -40,7 +40,6 @@ use namespace::clean;
# Must be after namespace::clean, so that we can use "around" for the "__" # Must be after namespace::clean, so that we can use "around" for the "__"
# function. # function.
use Locale::TextDomain 'tails'; use Locale::TextDomain 'tails';
POSIX::setlocale(&POSIX::LC_MESSAGES, '');
use MooX::Options; use MooX::Options;
......
...@@ -47,7 +47,6 @@ use namespace::clean; ...@@ -47,7 +47,6 @@ use namespace::clean;
# Must be after namespace::clean, so that we can use "around" for the "__" # Must be after namespace::clean, so that we can use "around" for the "__"
# function. # function.
use Locale::TextDomain 'tails'; use Locale::TextDomain 'tails';
POSIX::setlocale(&POSIX::LC_MESSAGES, '');
use MooX::Options; use MooX::Options;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment