Skip to content

Commit

Permalink
Merge branch 'w13_MDL-26913_20_sitecreated' of git://github.com/skoda…
Browse files Browse the repository at this point in the history
…k/moodle into MOODLE_20_STABLE
  • Loading branch information
stronk7 committed Mar 28, 2011
2 parents c44c552 + c4dd3bb commit b17a3a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/db/install.php
Expand Up @@ -45,7 +45,8 @@ function xmldb_main_install() {
$newsite->numsections = 0; $newsite->numsections = 0;
$newsite->category = 0; $newsite->category = 0;
$newsite->format = 'site'; // Only for this course $newsite->format = 'site'; // Only for this course
$newsite->timemodified = time(); $newsite->timecreated = time();
$newsite->timemodified = $newsite->timecreated;


$newsite->id = $DB->insert_record('course', $newsite); $newsite->id = $DB->insert_record('course', $newsite);
$SITE = get_site(); $SITE = get_site();
Expand Down

0 comments on commit b17a3a5

Please sign in to comment.