accesslib: cleanup_dirty_contexts() - also forget about CAST()s

This commit is contained in:
martinlanghoff
2007-09-19 07:56:43 +00:00
parent 70981363bf
commit f2a7ad77ec
+1 -1
View File
@@ -4609,7 +4609,7 @@ function cleanup_dirty_contexts() {
global $CFG;
$sql = "plugin='accesslib/dirtycontexts' AND
CAST(value AS DECIMAL) < " . time() - $CFG->sessiontimeout;
value < " . time() - $CFG->sessiontimeout;
delete_records_select('config_plugins', $sql);
}