]> git.mjollnir.org Git - moodle.git/commitdiff
Removing some diagnostic output that had been forgotten.
authordefacer <defacer>
Mon, 31 Jan 2005 03:47:14 +0000 (03:47 +0000)
committerdefacer <defacer>
Mon, 31 Jan 2005 03:47:14 +0000 (03:47 +0000)
backup/restorelib.php

index 616e227eb30299e59ef8660b0f5b60d68ffd1e5e..c643950dc61168596b20521d8221f19db4270ee3 100644 (file)
         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();
                 }
             }
         } else if($backup_block_format == 'instances') {
-            echo ' (1.5)';                                 //debug
             $status = restore_create_block_instances($restore,$xml_file);
         }