From: moodler Date: Thu, 5 Feb 2004 09:57:18 +0000 (+0000) Subject: Tweaks X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=898ffaf9d44a373ae7913b56d6fc08a3fd4a4593;p=moodle.git Tweaks --- diff --git a/admin/upgradelogs.php b/admin/upgradelogs.php index ff6c1c09e2..0ca7697c3d 100644 --- a/admin/upgradelogs.php +++ b/admin/upgradelogs.php @@ -57,7 +57,7 @@ $LIKE = "ILIKE"; } - if ($cmcount > 20) { + if ($cmcount > 10) { print_simple_box('This process may take a very long time ... please be patient and let it finish.', 'center', '', '#ffcccc'); $sleeptime = 1; @@ -101,10 +101,10 @@ case "journal": execute_sql("UPDATE {$CFG->prefix}log SET cmid = '$cm->id' - WHERE module = '$cm->name' AND url = 'report.php?id=$cm->id'"); + WHERE module = '$cm->name' AND url = 'report.php?id=$cm->id'", false); execute_sql("UPDATE {$CFG->prefix}log SET cmid = '$cm->id' - WHERE module = '$cm->name' AND url = 'view.php?id=$cm->id'"); + WHERE module = '$cm->name' AND url = 'view.php?id=$cm->id'", false); break; }