mirror of
https://github.com/friendica/friendica
synced 2024-11-19 09:43:45 +00:00
Fix user account removal expiration delay
This commit is contained in:
parent
54f4ac6ae0
commit
92556e5161
1 changed files with 1 additions and 1 deletions
|
@ -799,7 +799,7 @@ class User
|
|||
DBA::insert('userd', ['username' => $user['nickname']]);
|
||||
|
||||
// The user and related data will be deleted in "cron_expire_and_remove_users" (cronjobs.php)
|
||||
DBA::update('user', ['account_removed' => true, 'account_expires_on' => DateTimeFormat::utc(DateTimeFormat::utcNow() . ' + 7 day')], ['uid' => $uid]);
|
||||
DBA::update('user', ['account_removed' => true, 'account_expires_on' => DateTimeFormat::utc('now + 7 day')], ['uid' => $uid]);
|
||||
Worker::add(PRIORITY_HIGH, 'Notifier', 'removeme', $uid);
|
||||
|
||||
// Send an update to the directory
|
||||
|
|
Loading…
Reference in a new issue