lib: replace shift my @_ (pt2)

This commit is contained in:
Milan
2023-05-19 18:00:29 +02:00
parent 3a1a118eeb
commit fe857c6f65
32 changed files with 203 additions and 332 deletions

View File

@@ -27,8 +27,7 @@ sub get_cached_or_render($$$) {
}
sub get($$) {
my $config = shift;
my $request = shift;
my ($config, $request) = @_;
my $params = $request->{params}->{checked};
my $language = $config->{date}->{language} || 'en';
@@ -315,8 +314,8 @@ sub get_calendar_weeks($$$) {
}
sub getWeeksOfMonth($$) {
my $thisYear = shift;
my $thisMonth = shift;
my ($thisYear, $thisMonth) = @_;
my $thisDay = 1;
# get weekday of 1st of month