Skip to content
Browse files

MDL-32191 navigation: Add keys to module and block settings nav nodes

Conflicts:
	lib/navigationlib.php
  • Loading branch information...
1 parent 838d78a commit 072c52bbc05be293c81a509085dfd370d3adb0aa @jonof jonof committed with Sam Hemelryk Mar 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/navigationlib.php
View
4 lib/navigationlib.php
@@ -3742,7 +3742,7 @@ protected function load_module_settings() {
require_once($file);
}
- $modulenode = $this->add(get_string('pluginadministration', $this->page->activityname));
+ $modulenode = $this->add(get_string('pluginadministration', $this->page->activityname), null, self::TYPE_SETTING, null, 'modulesettings');
$modulenode->force_open();
// Settings for the module
@@ -4149,7 +4149,7 @@ protected function generate_user_settings($courseid, $userid, $gstitle='usercurr
protected function load_block_settings() {
global $CFG;
- $blocknode = $this->add($this->context->get_context_name());
+ $blocknode = $this->add($this->context->get_context_name(), null, self::TYPE_SETTING, null, 'blocksettings');
$blocknode->force_open();
// Assign local roles

0 comments on commit 072c52b

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