mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10: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
|
||||
time < ?";
|
||||
$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();
|
||||
while ($objectID = $stmt->fetchColumn()) $objectIDs[] = $objectID;
|
||||
|
Loading…
Reference in New Issue
Block a user