EngineGP/system/library/cron/users_recovery_signup.php

20 lines
440 B
PHP
Raw Permalink Normal View History

2023-03-04 23:45:46 +00:00
<?php
if (!DEFINED('EGP'))
exit(header('Refresh: 0; URL=http://' . $_SERVER['HTTP_HOST'] . '/404'));
2023-03-04 23:45:46 +00:00
class users_recovery_signup extends cron
{
function __construct()
{
global $sql, $start_point;
2023-03-04 23:45:46 +00:00
$time = $start_point - 86400;
2023-03-04 23:45:46 +00:00
$sql->query('DELETE FROM `signup` WHERE `date`<"' . $time . '"');
$sql->query('DELETE FROM `recovery` WHERE `date`<"' . $time . '"');
return NULL;
}
}
2023-05-05 01:17:19 +00:00
2023-03-04 23:45:46 +00:00
?>