Review updates
Update function name, descriptive variable names.
This commit is contained in:
parent
41159cd14f
commit
430bd7c6ac
8 changed files with 29 additions and 25 deletions
|
@ -49,7 +49,7 @@ function photos_init(App $a) {
|
|||
$a->profile_uid = $user[0]['uid'];
|
||||
$is_owner = (local_user() && (local_user() == $a->profile_uid));
|
||||
|
||||
$profile = Profile::getProfiledataByNick($nick, $a->profile_uid);
|
||||
$profile = Profile::getByNickname($nick, $a->profile_uid);
|
||||
|
||||
$account_type = Contact::getAccountType($profile);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue