Skip to content

Commit

Permalink
MDL-29969 Administration: Default value for numsections is set to 1 f…
Browse files Browse the repository at this point in the history
…or site frontpage
  • Loading branch information
Rajesh Taneja committed Jul 2, 2012
1 parent 116714e commit af70031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/install.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function xmldb_main_install() {
$newsite->shortname = ''; $newsite->shortname = '';
$newsite->summary = NULL; $newsite->summary = NULL;
$newsite->newsitems = 3; $newsite->newsitems = 3;
$newsite->numsections = 0; $newsite->numsections = 1;
$newsite->category = 0; $newsite->category = 0;
$newsite->format = 'site'; // Only for this course $newsite->format = 'site'; // Only for this course
$newsite->timecreated = time(); $newsite->timecreated = time();
Expand Down

0 comments on commit af70031

Please sign in to comment.