]> git.mjollnir.org Git - moodle.git/commitdiff
Remove time restriction. :-)
authormoodler <moodler>
Wed, 4 Feb 2004 09:13:26 +0000 (09:13 +0000)
committermoodler <moodler>
Wed, 4 Feb 2004 09:13:26 +0000 (09:13 +0000)
admin/upgrade_logs.php

index ad9504b824cfad9db469d00ad1b60f5bff635cd0..8aa94098b57ef21aacdc1e64fe5aa4248be4dc7b 100644 (file)
         error("This script does not work with this old version of Moodle");
     }
 
+/// Turn off time limits, sometimes upgrades can be slow.
+
+    set_time_limit(0);
+
+
+/// Print header
+
     print_header("Upgrading old logs", "Upgrading old logs");
 
 
-    /// try and extract as many cmids as possible from the existing logs
+/// Try and extract as many cmids as possible from the existing logs
 
     if ($coursemodules = get_records_sql("SELECT cm.*, m.name 
                                             FROM {$CFG->prefix}course_modules cm,