X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=installer%2Fonboarding.pl;h=68a1345df1ea24bdb39e1f3508a0a30c5a30045d;hb=1bbc53f65fba7cb28d7e56edede0e48349f5fff3;hp=95e2b7b28eabd2798346735df3f33fae849a5444;hpb=cf397ac3bcbc93a508954c836d1cb90a84fb2ac6;p=koha-ffzg.git diff --git a/installer/onboarding.pl b/installer/onboarding.pl index 95e2b7b28e..68a1345df1 100755 --- a/installer/onboarding.pl +++ b/installer/onboarding.pl @@ -26,7 +26,6 @@ use C4::Members qw( checkcardnumber ); use Koha::Patrons; use Koha::Libraries; use Koha::Database; -use Koha::DateUtils qw( dt_from_string output_pref ); use Koha::Patrons; use Koha::Patron::Categories; use Koha::ItemTypes; @@ -100,17 +99,6 @@ if ( $step == 2 ) { my $enrolmentperiod = $input->param('enrolmentperiod'); my $enrolmentperioddate = $input->param('enrolmentperioddate') || undef; - #Converts the string into a date format - if ($enrolmentperioddate) { - $enrolmentperioddate = output_pref( - { - dt => dt_from_string($enrolmentperioddate), - dateformat => 'DateTime', - dateonly => 1, - } - ); - } - #Adds a new patron category to the database $category = Koha::Patron::Category->new( {