Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
no need to pass along arguments
  • Loading branch information
kraih committed Oct 22, 2013
1 parent 0725198 commit e487f9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious.pm
Expand Up @@ -94,10 +94,10 @@ sub new {
# DEPRECATED in Top Hat!
if (my $sub = $self->can("${mode}_mode")) {
deprecated qq{"sub ${mode}_mode {...}" in application class is DEPRECATED};
$self->$sub(@_);
$self->$sub;
}

$self->startup(@_);
$self->startup;

return $self;
}
Expand Down

0 comments on commit e487f9a

Please sign in to comment.