MDL-11674

Undid change that could result in dataloss.
This commit is contained in:
ericmerrill
2008-01-09 02:08:04 +00:00
parent 07e27f4746
commit 95fb95cb3e
+1 -1
View File
@@ -212,7 +212,7 @@ function chat_cron () {
$sql = "DELETE
FROM {$CFG->prefix}chat_messages
WHERE ($subselect) IS NOT NULL AND timestamp < ( ".time()." -($subselect) * 24 * 3600)";
WHERE ($subselect) > 0 AND timestamp < ( ".time()." -($subselect) * 24 * 3600)";
execute_sql($sql, false);