mirror of
https://github.com/friendica/friendica
synced 2025-02-02 10:24:13 +00:00
Update avatar after user creation
This commit is contained in:
parent
c22b4d5d30
commit
bdc2cd000b
1 changed files with 2 additions and 0 deletions
|
@ -1123,6 +1123,8 @@ class User
|
||||||
Photo::update(['profile' => 1], ['resource-id' => $resource_id]);
|
Photo::update(['profile' => 1], ['resource-id' => $resource_id]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Contact::updateSelfFromUserID($uid, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
Hook::callAll('register_account', $uid);
|
Hook::callAll('register_account', $uid);
|
||||||
|
|
Loading…
Add table
Reference in a new issue