From: defacer Date: Mon, 31 Jan 2005 03:47:14 +0000 (+0000) Subject: Removing some diagnostic output that had been forgotten. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b5039f5d15e302708867d3fce6afb8b5d999bcef;p=moodle.git Removing some diagnostic output that had been forgotten. --- diff --git a/backup/restorelib.php b/backup/restorelib.php index 616e227eb3..c643950dc6 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -593,12 +593,10 @@ delete_records('block_instance', 'pageid', $restore->course_id, 'pagetype', PAGE_COURSE_VIEW); if (empty($backup_block_format)) { // This is a backup from Moodle < 1.5 if (empty($blockinfo)) { - echo ' (pre 1.3)'; //debug // Looks like it's from Moodle < 1.3. Let's give the course default blocks... $newpage = page_create_object(PAGE_COURSE_VIEW, $restore->course_id); blocks_repopulate_page($newpage); } else { - echo ' (1.3-1.4)'; //debug // We just have a blockinfo field, this is a legacy 1.4 or 1.3 backup $blockrecords = get_records_select('block', '', '', 'name, id'); $temp_blocks_l = array(); @@ -633,7 +631,6 @@ } } } else if($backup_block_format == 'instances') { - echo ' (1.5)'; //debug $status = restore_create_block_instances($restore,$xml_file); }