mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-43224 navigation: Load local plugin navigation in site admin via ajax
Local plugin can add navigation nodes to site admin and while loading site admin via ajax this should be considered.
This commit is contained in:
parent
c36a2401ab
commit
53b93a6b30
@ -4492,6 +4492,10 @@ class settings_navigation_ajax extends settings_navigation {
|
||||
return false;
|
||||
}
|
||||
$this->load_administration_settings();
|
||||
|
||||
// Check if local plugins is adding node to site admin.
|
||||
$this->load_local_plugin_settings();
|
||||
|
||||
$this->initialised = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user