From 5c9cbb399ebed67e6a4016dc5b3503470fb95305 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 4 Feb 2004 09:13:26 +0000 Subject: [PATCH] Remove time restriction. :-) --- admin/upgrade_logs.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/admin/upgrade_logs.php b/admin/upgrade_logs.php index ad9504b824c..8aa94098b57 100644 --- a/admin/upgrade_logs.php +++ b/admin/upgrade_logs.php @@ -12,10 +12,17 @@ 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,