mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Revert "Refactoring: Created constants for datetime values (#1648)"
This reverts commit 6eca29714a
.
This commit is contained in:
parent
6eca29714a
commit
3e9f4006c4
30 changed files with 52 additions and 58 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue