Oh no, even more notices ... (#5697)

This commit is contained in:
Michael Vogel 2018-08-29 18:28:13 +00:00 committed by Hypolite Petovan
parent 46294d27ee
commit c7f8f190b9
2 changed files with 3 additions and 2 deletions

View file

@ -730,7 +730,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($t . " + 7 day")], ['uid' => $uid]);
DBA::update('user', ['account_removed' => true, 'account_expires_on' => DateTimeFormat::utc(DateTimeFormat::utcNow() . " + 7 day")], ['uid' => $uid]);
Worker::add(PRIORITY_HIGH, "Notifier", "removeme", $uid);
// Send an update to the directory