mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -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
|
@ -28,7 +28,7 @@ if ($pm_days_keep !== 0) {
|
|||
FROM " . BB_PRIVMSGS . " pm
|
||||
LEFT JOIN " . BB_PRIVMSGS_TEXT . " pmt ON(pmt.privmsgs_text_id = pm.privmsgs_id)
|
||||
WHERE pm.privmsgs_id BETWEEN $start_id AND $end_id
|
||||
AND pm.privmsgs_date < " . (TIME_DAY * $pm_days_keep) . "
|
||||
AND pm.privmsgs_date < " . (TIMENOW - 86400 * $pm_days_keep) . "
|
||||
");
|
||||
|
||||
if ($end_id > $finish_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue