]> git.mjollnir.org Git - moodle.git/commitdiff
Tweaks
authormoodler <moodler>
Thu, 5 Feb 2004 09:57:18 +0000 (09:57 +0000)
committermoodler <moodler>
Thu, 5 Feb 2004 09:57:18 +0000 (09:57 +0000)
admin/upgradelogs.php

index ff6c1c09e2ba06412115516fe05c62d1f2d90345..0ca7697c3d37de64376564995d1091dcc401b67b 100644 (file)
@@ -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;
                     
                 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;
 
             }