mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix MessageAction - seconds are not minutes
This commit is contained in:
parent
bb185fc712
commit
fd17e10e8b
@ -35,7 +35,7 @@ public function prune() {
|
|||||||
WHERE
|
WHERE
|
||||||
time < ?";
|
time < ?";
|
||||||
$stmt = \wcf\system\WCF::getDB()->prepareStatement($sql);
|
$stmt = \wcf\system\WCF::getDB()->prepareStatement($sql);
|
||||||
$stmt->execute(array(TIME_NOW - CHAT_LOG_ARCHIVETIME));
|
$stmt->execute(array(TIME_NOW - CHAT_LOG_ARCHIVETIME * 60));
|
||||||
|
|
||||||
$objectIDs = array();
|
$objectIDs = array();
|
||||||
while ($objectID = $stmt->fetchColumn()) $objectIDs[] = $objectID;
|
while ($objectID = $stmt->fetchColumn()) $objectIDs[] = $objectID;
|
||||||
|
Loading…
Reference in New Issue
Block a user