Permalink
Browse files

MDL-30950 remove references to removed admin block

Credit goes to Ralf Hilgenstock.
  • Loading branch information...
1 parent 869e613 commit 8376475a9042981a6b963e0d8dfab36a3e7ec854 @skodak skodak committed with stronk7 Dec 30, 2011
Showing with 7 additions and 7 deletions.
  1. +1 −1 backup/cc/cc2moodle.php
  2. +6 −6 config-dist.php
View
2 backup/cc/cc2moodle.php
@@ -313,7 +313,7 @@ private function create_node_course_blocks_block () {
if (!empty($CFG->defaultblocks)) {
$blocknames = $CFG->defaultblocks;
} else {
- $blocknames = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
+ $blocknames = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
}
}
View
12 config-dist.php
@@ -196,17 +196,17 @@
//
// These variables define DEFAULT block variables for new courses
// If this one is set it overrides all others and is the only one used.
-// $CFG->defaultblocks_override = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
+// $CFG->defaultblocks_override = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
//
// These variables define the specific settings for defined course formats.
// They override any settings defined in the formats own config file.
-// $CFG->defaultblocks_site = 'site_main_menu,admin,course_list:course_summary,calendar_month';
-// $CFG->defaultblocks_social = 'participants,search_forums,calendar_month,calendar_upcoming,social_activities,recent_activity,admin,course_list';
-// $CFG->defaultblocks_topics = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
-// $CFG->defaultblocks_weeks = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
+// $CFG->defaultblocks_site = 'site_main_menu,course_list:course_summary,calendar_month';
+// $CFG->defaultblocks_social = 'participants,search_forums,calendar_month,calendar_upcoming,social_activities,recent_activity,course_list';
+// $CFG->defaultblocks_topics = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
+// $CFG->defaultblocks_weeks = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
//
// These blocks are used when no other default setting is found.
-// $CFG->defaultblocks = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
+// $CFG->defaultblocks = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
//
// You can specify a different class to be created for the $PAGE global, and to
// compute which blocks appear on each page. However, I cannot think of any good

0 comments on commit 8376475

Please sign in to comment.