mirror of
https://github.com/friendica/friendica
synced 2025-04-27 12:30:11 +00:00
Split the CXronjobs class into separate classes
This commit is contained in:
parent
977e4fe5d9
commit
b136c5f32b
11 changed files with 422 additions and 274 deletions
|
@ -1180,7 +1180,7 @@ class User
|
|||
// unique), so it cannot be re-registered in the future.
|
||||
DBA::insert('userd', ['username' => $user['nickname']]);
|
||||
|
||||
// The user and related data will be deleted in Friendica\Worker\CronJobs::expireAndRemoveUsers()
|
||||
// The user and related data will be deleted in Friendica\Worker\ExpireAndRemoveUsers
|
||||
DBA::update('user', ['account_removed' => true, 'account_expires_on' => DateTimeFormat::utc('now + 7 day')], ['uid' => $uid]);
|
||||
Worker::add(PRIORITY_HIGH, 'Notifier', Delivery::REMOVAL, $uid);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue