diff --git a/classes/plugininfo/factor.php b/classes/plugininfo/factor.php index 29291f11..739f8a64 100644 --- a/classes/plugininfo/factor.php +++ b/classes/plugininfo/factor.php @@ -59,6 +59,7 @@ public static function get_factors() { return self::sort_factors_by_order($return); } + /** * Sorts factors by configured order. * @@ -260,9 +261,7 @@ public function load_settings(\part_of_admin_tree $adminroot, $parentnodename, $ $settings = new \admin_settingpage($section, $this->displayname, 'moodle/site:config', $this->is_enabled() === false); - if ($adminroot->fulltree) { - include($this->full_path('settings.php')); - } + include($this->full_path('settings.php')); $adminroot->add($parentnodename, $settings); }