Deleting stuff

This commit is contained in:
Lncvrt committed 2025-08-24 17:54:37 -07:00
1 parent fb0f3cc112
commit d698d4ba97
3 files changed
+33 -4

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ $stmt = $conn->prepare("
SELECT c.id, c.content, u.username
FROM chats c
JOIN users u ON c.userId = u.id
WHERE u.banned = 0 AND c.deleted = 0
WHERE u.banned = 0 AND c.deleted_at = 0
ORDER BY c.id ASC LIMIT 50
");
$stmt->execute();