Skip to content
Snippets Groups Projects
Commit c237f183 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

no use for dynamic loading of DateTime...

...as it is already loaded by Rose::DB::Object anyway
parent 99ea4bbd
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ use warnings;
use CGI::Simple;
use CGI::Simple::Cookie;
use DateTime;
use English qw(-no_match_vars);
use Log::Any::Adapter;
use List::MoreUtils qw(uniq);
......@@ -412,7 +413,6 @@ sub req_complete_challenge {
}
# compute a new token
eval "require DateTime";
my $validity_period =
$self->{configuration}->{service}->{tokens_validity_period};
my $token = AccountManager::Token->new(
......@@ -536,7 +536,6 @@ sub req_create_accounts {
$self->{configuration}->{$entityid}->{account_validity_period} ||
$self->{configuration}->{service}->{account_validity_period};
eval "require DateTime";
my $download_token = AccountManager::Token->new(
db => $self->{db},
email_address => $email,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment