From: stronk7 Date: Fri, 7 May 2004 22:39:37 +0000 (+0000) Subject: Now $course->showrecent is out from backup & restore X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3c01fbf4ba124e12b7158c9fad713866fb562e4f;p=moodle.git Now $course->showrecent is out from backup & restore --- diff --git a/backup/restorelib.php b/backup/restorelib.php index 199ce2d1a7..36baf30e33 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -399,7 +399,7 @@ $course->guest = addslashes($course_header->course_guest); $course->startdate = addslashes($course_header->course_startdate); $course->numsections = addslashes($course_header->course_numsections); - $course->showrecent = addslashes($course_header->course_showrecent); + //$course->showrecent = addslashes($course_header->course_showrecent); INFO: This is out in 1.3 $course->maxbytes = addslashes($course_header->course_maxbytes); $course->showreports = addslashes($course_header->course_showreports); $course->groupmode = addslashes($course_header->course_groupmode); @@ -2055,9 +2055,9 @@ case "NUMSECTIONS": $this->info->course_numsections = $this->getContents(); break; - case "SHOWRECENT": - $this->info->course_showrecent = $this->getContents(); - break; + //case "SHOWRECENT": INFO: This is out in 1.3 + // $this->info->course_showrecent = $this->getContents(); + // break; case "MAXBYTES": $this->info->course_maxbytes = $this->getContents(); break;