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…
Reference in a new issue