MDL-68292 core: Remove sesskey leakage on module pages

This commit is contained in:
Brendan Heywood
2020-10-12 17:10:03 +11:00
parent 46f977a8bf
commit 155b0da5a5
3 changed files with 5 additions and 4 deletions
-1
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,