Fixing permanent deletion counter
This commit is contained in:
parent
e64a14b84b
commit
14b4fac818
2 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ class CronJobs
|
|||
}
|
||||
|
||||
// delete user records for recently removed accounts
|
||||
$users = DBA::select('user', ['uid'], ["`account_removed` AND `account_expires_on` < UTC_TIMESTAMP() - INTERVAL 3 DAY"]);
|
||||
$users = DBA::select('user', ['uid'], ["`account_removed` AND `account_expires_on` < UTC_TIMESTAMP() "]);
|
||||
while ($user = DBA::fetch($users)) {
|
||||
// Delete the contacts of this user
|
||||
$self = DBA::selectFirst('contact', ['nurl'], ['self' => true, 'uid' => $user['uid']]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue