MDL-20438 sesskey check to execute fetch()

This commit is contained in:
David Mudrak
2012-03-30 11:05:40 +02:00
parent c7f3ab4381
commit 00ea11f82e
+2 -1
View File
@@ -37,7 +37,8 @@ $pluginman = plugin_manager::instance();
$checker = available_update_checker::instance();
if ($fetchremote) {
$checker->fetch(true);
require_sesskey();
$checker->fetch();
redirect($PAGE->url);
}