Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-30950 remove references to removed admin block

Credit goes to Ralf Hilgenstock.
  • Loading branch information...
commit 4c519f313ff8185684c42f836d8d972c118165d0 1 parent 9238b56
@skodak skodak authored stronk7 committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.