Remove references to deprecated profile.is-default and profile.profile-name fields
This commit is contained in:
parent
d9f7556b4a
commit
18cfd8dfaa
16 changed files with 28 additions and 46 deletions
|
@ -27,7 +27,7 @@ function user_allow($hash)
|
|||
|
||||
DBA::update('user', ['blocked' => false, 'verified' => true], ['uid' => $register['uid']]);
|
||||
|
||||
$profile = DBA::selectFirst('profile', ['net-publish'], ['uid' => $register['uid'], 'is-default' => true]);
|
||||
$profile = DBA::selectFirst('profile', ['net-publish'], ['uid' => $register['uid']]);
|
||||
|
||||
if (DBA::isResult($profile) && $profile['net-publish'] && DI::config()->get('system', 'directory')) {
|
||||
$url = DI::baseUrl() . '/profile/' . $user['nickname'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue