mirror of
https://github.com/friendica/friendica
synced 2025-04-25 18:30:11 +00:00
Fixed wrong reference to user.expire in Model\User::getActorName
- Update field documentation to prevent further confusion
This commit is contained in:
parent
c3cae0ae96
commit
6df187478d
4 changed files with 50 additions and 50 deletions
|
@ -265,7 +265,7 @@ class User
|
|||
// List of possible actor names
|
||||
$possible_accounts = ['friendica', 'actor', 'system', 'internal'];
|
||||
foreach ($possible_accounts as $name) {
|
||||
if (!DBA::exists('user', ['nickname' => $name, 'account_removed' => false, 'expire' => false]) &&
|
||||
if (!DBA::exists('user', ['nickname' => $name, 'account_removed' => false, 'account_expired' => false]) &&
|
||||
!DBA::exists('userd', ['username' => $name])) {
|
||||
DI::config()->set('system', 'actor_name', $name);
|
||||
return $name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue