From f2a7ad77ecc785ce329cc5a30769e1f1be205367 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Wed, 19 Sep 2007 07:56:43 +0000 Subject: [PATCH] accesslib: cleanup_dirty_contexts() - also forget about CAST()s --- lib/accesslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/accesslib.php b/lib/accesslib.php index 8d6685f08b..8092763353 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -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); } -- 2.39.5