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 d71b79a commit ba0dde97856f7b3fc3dd436eddf19ee5d8d104f9 @rajeshtaneja rajeshtaneja committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/db/install.php
View
2 lib/db/install.php
@@ -72,7 +72,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 ba0dde9

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