From 3342790c70ca34ce2847e0dfc0a72e7cd5178e1c Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Fri, 22 Aug 2008 12:31:16 +0000 Subject: [PATCH] fixing error caused by $DB migration --- mod/forum/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index f4c60adc2c..344a70cb6a 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -2035,7 +2035,7 @@ function forum_mark_old_posts_as_mailed($endtime, $now=null) { return $DB->execute("UPDATE {forum_posts} SET mailed = '1' WHERE (created < ? OR mailnow = 1) - AND mailed = 0", false, array($endtime)); + AND mailed = 0", array($endtime)); } else { return $DB->execute("UPDATE {forum_posts} @@ -2044,7 +2044,7 @@ function forum_mark_old_posts_as_mailed($endtime, $now=null) { FROM {forum_discussions} d WHERE d.timestart > ?) AND (created < ? OR mailnow = 1) - AND mailed = 0", false, array($now, $endtime)); + AND mailed = 0", array($now, $endtime)); } } -- 2.39.5