Review updates

Update function name, descriptive variable names.
This commit is contained in:
Adam Magness 2018-01-14 23:44:39 -05:00
commit 430bd7c6ac
8 changed files with 29 additions and 25 deletions

View file

@ -42,7 +42,7 @@ function videos_init(App $a) {
$a->data['user'] = $user[0];
$a->profile_uid = $user[0]['uid'];
$profile = Profile::getProfiledataByNick($nick, $a->profile_uid);
$profile = Profile::getByNickname($nick, $a->profile_uid);
$account_type = Contact::getAccountType($profile);