Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweaks

  • Loading branch information...
commit 898ffaf9d44a373ae7913b56d6fc08a3fd4a4593 1 parent 4da1a0a
moodler authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 admin/upgradelogs.php
6 admin/upgradelogs.php
View
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.