New central function to store avatar data in contacts

This commit is contained in:
Michael Vogel
2016-01-28 11:09:08 +01:00
parent 6f662b8c74
commit 78e79de7c9
11 changed files with 32 additions and 172 deletions

View File

@@ -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);
}
}