MDL-75454 cache: Reduced exposure of sesskey param
This commit is contained in:
Vendored
+1
-1
@@ -52,7 +52,7 @@ $PAGE->set_primary_active_tab('siteadminnode');
|
||||
$PAGE->navbar->add(get_string('cacheconfig', 'cache'), new moodle_url('/cache/admin.php'));
|
||||
|
||||
// Handle page actions in admin helper class.
|
||||
if (!empty($action) && confirm_sesskey()) {
|
||||
if (!empty($action)) {
|
||||
$forminfo = $adminhelper->perform_cache_actions($action, $forminfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user