diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-09-03 18:12:18 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-09-03 18:12:18 +0200 |
commit | 355bca93c1cb492a6214376a672d5b0d37dd2e0b (patch) | |
tree | 9ec19ea3b43cd773a03285a857d60602150605e7 /index.pl | |
parent | f9c7c89528430b85e55af20a232c718545415e6f (diff) |
index.pl: Always use get_user_id without argument
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |