New central function to store avatar data in contacts
This commit is contained in:
parent
6f662b8c74
commit
78e79de7c9
11 changed files with 32 additions and 172 deletions
|
|
@ -222,7 +222,6 @@ function gs_search_user($search) {
|
|||
$contact = probe_url($user->site_address."/".$user->name);
|
||||
if ($contact["network"] != NETWORK_PHANTOM) {
|
||||
$contact["about"] = $user->description;
|
||||
$contact["avatar"] = $contact["photo"];
|
||||
update_gcontact($contact);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue