MDL-68292 core: Remove sesskey leakage on module pages

This commit is contained in:
Brendan Heywood 2020-09-24 17:01:31 +10:00
parent 46f977a8bf
commit 155b0da5a5
3 changed files with 5 additions and 4 deletions

View file

@ -621,7 +621,6 @@ abstract class base {
*/
public final function get_default_uninstall_url($return = 'overview') {
return new moodle_url('/admin/plugins.php', array(
'sesskey' => sesskey(),
'uninstall' => $this->component,
'confirm' => 0,
'return' => $return,