send_git: Year can be omitted
This commit is contained in:
parent
dcb6033caa
commit
555c922786
@ -7,6 +7,7 @@ use v5.10;
|
|||||||
use File::Path qw(remove_tree);
|
use File::Path qw(remove_tree);
|
||||||
use File::Temp qw/tempfile tempdir/;
|
use File::Temp qw/tempfile tempdir/;
|
||||||
|
|
||||||
|
use ACU::LDAP;
|
||||||
use ACU::Log;
|
use ACU::Log;
|
||||||
use ACU::Process;
|
use ACU::Process;
|
||||||
|
|
||||||
@ -15,7 +16,7 @@ sub process
|
|||||||
{
|
{
|
||||||
my ($given_args, $args) = @_;
|
my ($given_args, $args) = @_;
|
||||||
|
|
||||||
my $year = $args->{param}{year};
|
my $year = $args->{param}{year} // LDAP::get_year();
|
||||||
my $project_id = $args->{param}{id};
|
my $project_id = $args->{param}{id};
|
||||||
my $rendu = $args->{param}{rendu};
|
my $rendu = $args->{param}{rendu};
|
||||||
my $login = $args->{param}{login};
|
my $login = $args->{param}{login};
|
||||||
|
Reference in New Issue
Block a user