Permalink
Browse files

Tweaks

  • Loading branch information...
1 parent 4da1a0a commit 898ffaf9d44a373ae7913b56d6fc08a3fd4a4593 moodler committed Feb 5, 2004
Showing with 3 additions and 3 deletions.
  1. +3 −3 admin/upgradelogs.php
View
6 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;
}

0 comments on commit 898ffaf

Please sign in to comment.