]> git.mjollnir.org Git - moodle.git/commitdiff
merged, bug fix for 5352, setting ignore_user_abort to false
authortoyomoyo <toyomoyo>
Thu, 1 Jun 2006 02:32:07 +0000 (02:32 +0000)
committertoyomoyo <toyomoyo>
Thu, 1 Jun 2006 02:32:07 +0000 (02:32 +0000)
admin/utfdbmigrate.php

index 06ba64ff2d83d47edeccda6ae16ac1a76998315a..28deea73d9c26c9d96856a57b51ff4e7763ac58f 100755 (executable)
@@ -181,6 +181,8 @@ function db_migrate2utf8(){   //Eloy: Perhaps some type of limit parameter here
     global $db, $CFG, $dbtablename, $fieldname, $record;
     $debug = ($CFG->debug > 7);
     
+    ignore_user_abort(false); // see bug report 5352. This should kill this thread as soon as user aborts.
+    
     @set_time_limit(0);
     @ob_implicit_flush(true);
     @ob_end_flush();