Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-37485 plugins overview: require_login before _capability.

  • Loading branch information...
commit 198279d3031edde6765a0086f77172b6ac97ea82 1 parent 8a646b5
@timhunt timhunt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/plugins.php
View
2  admin/plugins.php
@@ -28,8 +28,8 @@
require_once($CFG->libdir . '/adminlib.php');
require_once($CFG->libdir . '/pluginlib.php');
-require_capability('moodle/site:config', context_system::instance());
admin_externalpage_setup('pluginsoverview');
+require_capability('moodle/site:config', context_system::instance());
$fetchremote = optional_param('fetchremote', false, PARAM_BOOL);
$updatesonly = optional_param('updatesonly', false, PARAM_BOOL);
Please sign in to comment.
Something went wrong with that request. Please try again.