Revert "Refactoring: Created constants for datetime values (#1648)"

This reverts commit 6eca29714a.
This commit is contained in:
Roman Kelesidis 2024-09-27 18:32:23 +07:00
commit 3e9f4006c4
30 changed files with 52 additions and 58 deletions

View file

@ -29,8 +29,8 @@ $forum_id = $t_data['forum_id'];
if ($t_data['seeders'] > 2) {
$this->ajax_die(sprintf($lang['CALLSEED_HAVE_SEED'], $t_data['seeders']));
} elseif ($t_data['call_seed_time'] > TIME_DAY) {
$time_left = delta_time($t_data['call_seed_time'] + DAY_IN_SECS, TIMENOW, 'days');
} elseif ($t_data['call_seed_time'] > (TIMENOW - 86400)) {
$time_left = delta_time($t_data['call_seed_time'] + 86400, TIMENOW, 'days');
$this->ajax_die(sprintf($lang['CALLSEED_MSG_SPAM'], $time_left));
}