mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
Add Temporal::utcNow()
This commit is contained in:
parent
38ff1b455b
commit
8aff8a76eb
51 changed files with 191 additions and 180 deletions
|
@ -396,7 +396,7 @@ class User
|
|||
'verified' => $verified,
|
||||
'blocked' => $blocked,
|
||||
'timezone' => 'UTC',
|
||||
'register_date' => Temporal::convert(),
|
||||
'register_date' => Temporal::utcNow(),
|
||||
'default-location' => ''
|
||||
]);
|
||||
|
||||
|
@ -613,7 +613,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' => Temporal::convert()], ['uid' => $uid]);
|
||||
dba::update('user', ['account_removed' => true, 'account_expires_on' => Temporal::utcNow()], ['uid' => $uid]);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "removeme", $uid);
|
||||
|
||||
// Send an update to the directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue