Skip to content
Browse files

MDL-29969 Administration: Default value for numsections is set to 1 f…

…or site frontpage
  • Loading branch information...
1 parent 116714e commit af70031477cbb4c69f411a6261ff70d9bceef470 @rajeshtaneja rajeshtaneja committed Jul 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/db/install.php
View
2 lib/db/install.php
@@ -45,7 +45,7 @@ function xmldb_main_install() {
$newsite->shortname = '';
$newsite->summary = NULL;
$newsite->newsitems = 3;
- $newsite->numsections = 0;
+ $newsite->numsections = 1;
$newsite->category = 0;
$newsite->format = 'site'; // Only for this course
$newsite->timecreated = time();

0 comments on commit af70031

Please sign in to comment.
Something went wrong with that request. Please try again.