summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-22 12:44:19 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-22 12:44:19 +0100
commit1c63574245bd309c879c8f2914dfec9d67a48486 (patch)
treebb2778d781c5d5db4a330b2787c12fc50c108cbc /lib/Travelynx.pm
parente98fc8493fee2135b8ff3a33521969d7d79a2988 (diff)
users: rename "add_user" to "add" and "get_data" to "get"
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 1d0f1f2..c4f6bca 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -821,7 +821,7 @@ sub startup {
$uid //= $self->current_user->{id};
- return $self->users->get_data( uid => $uid );
+ return $self->users->get( uid => $uid );
}
);