From: stronk7 Date: Fri, 20 Jun 2003 19:46:01 +0000 (+0000) Subject: Changes to work with data from fs instead of db. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=832876628016be1c56e76b8d767610ec20f25062;p=moodle.git Changes to work with data from fs instead of db. Show progress info Output data to the browser to avoid timeouts. --- diff --git a/backup/mod/assignment/restorelib.php b/backup/mod/assignment/restorelib.php index 14d82d5d49..25a3d4b371 100644 --- a/backup/mod/assignment/restorelib.php +++ b/backup/mod/assignment/restorelib.php @@ -32,11 +32,8 @@ $data = backup_getid($restore->backup_unique_code,$mod->modtype,$mod->id); if ($data) { - //We have info, get and unserialize info - //First strip slashes - $temp = stripslashes($data->info); //Now get completed xmlized object - $info = unserialize($temp); + $info = $data->info; //traverse_xmlize($info); //Debug //print_object ($GLOBALS['traverse_array']); //Debug //$GLOBALS['traverse_array']=""; //Debug @@ -57,7 +54,7 @@ $newid = insert_record ("assignment",$assignment); //Do some output - echo "