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 d7f4c9c3f538e9a6ab97c6a18eb4e2d1b31155f5 1 parent dbee98b
@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', get_context_instance(CONTEXT_SYSTEM));
admin_externalpage_setup('pluginsoverview');
+require_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM));
$fetchremote = optional_param('fetchremote', false, PARAM_BOOL);
Please sign in to comment.
Something went wrong with that request. Please try again.