Permalink
Browse files

Merge branch 'w13_MDL-26913_20_sitecreated' of git://github.com/skoda…

…k/moodle into MOODLE_20_STABLE
  • Loading branch information...
2 parents c44c552 + c4dd3bb commit b17a3a55917b73cfdf36b39f7a56fbd6697b449f @stronk7 stronk7 committed Mar 28, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/db/install.php
View
@@ -45,7 +45,8 @@ function xmldb_main_install() {
$newsite->numsections = 0;
$newsite->category = 0;
$newsite->format = 'site'; // Only for this course
- $newsite->timemodified = time();
+ $newsite->timecreated = time();
+ $newsite->timemodified = $newsite->timecreated;
$newsite->id = $DB->insert_record('course', $newsite);
$SITE = get_site();

0 comments on commit b17a3a5

Please sign in to comment.