index.pl: Always use get_user_id without argument
This commit is contained in:
parent
f9c7c89528
commit
355bca93c1
1 changed files with 2 additions and 2 deletions
4
index.pl
4
index.pl
|
@ -424,7 +424,7 @@ helper 'get_user_id' => sub {
|
|||
helper 'get_user_travels' => sub {
|
||||
my ($self) = @_;
|
||||
|
||||
my $uid = $self->get_user_id( $self->get_user_name );
|
||||
my $uid = $self->get_user_id;
|
||||
$self->app->get_all_actions_query->execute($uid);
|
||||
|
||||
my @travels;
|
||||
|
@ -473,7 +473,7 @@ helper 'get_user_travels' => sub {
|
|||
helper 'get_user_status' => sub {
|
||||
my ($self) = @_;
|
||||
|
||||
my $uid = $self->get_user_id( $self->get_user_name );
|
||||
my $uid = $self->get_user_id;
|
||||
$self->app->get_last_actions_query->execute($uid);
|
||||
my $rows = $self->app->get_last_actions_query->fetchall_arrayref;
|
||||
|
||||
|
|
Loading…
Reference in a new issue