mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 20:06:46 +02:00
Merge branch 'MDL-79352' of https://github.com/paulholden/moodle
This commit is contained in:
commit
29ca85b924
2 changed files with 3 additions and 9 deletions
|
@ -19,7 +19,7 @@ namespace core_admin\table;
|
|||
use moodle_url;
|
||||
|
||||
/**
|
||||
* Tiny admin settings.
|
||||
* Admin tool settings.
|
||||
*
|
||||
* @package core_admin
|
||||
* @copyright 2023 Andrew Lyons <andrew@nicols.co.uk>
|
||||
|
@ -30,12 +30,6 @@ class tool_plugin_management_table extends \core_admin\table\plugin_management_t
|
|||
return 'tool';
|
||||
}
|
||||
|
||||
public function guess_base_url(): void {
|
||||
$this->define_baseurl(
|
||||
new moodle_url('/admin/tools.php')
|
||||
);
|
||||
}
|
||||
|
||||
protected function get_column_list(): array {
|
||||
$columns = parent::get_column_list();
|
||||
|
||||
|
@ -45,6 +39,6 @@ class tool_plugin_management_table extends \core_admin\table\plugin_management_t
|
|||
}
|
||||
|
||||
protected function get_action_url(array $params = []): moodle_url {
|
||||
return new moodle_url('/admin/tool.php', $params);
|
||||
return new moodle_url('/admin/settings.php', array_merge(['section' => 'toolsmanagement'], $params));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ class tool extends base {
|
|||
* @return moodle_url
|
||||
*/
|
||||
public static function get_manage_url() {
|
||||
return new moodle_url('/admin/tools.php');
|
||||
return new moodle_url('/admin/settings.php', ['section' => 'toolsmanagement']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue