MDL-11674

Changing back an issue that could cause dataloss.
This commit is contained in:
ericmerrill
2008-01-09 02:13:52 +00:00
parent 2f8d2e1a2b
commit 817fb4cb01
+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);