Permalink
Browse files

MDL-37485 plugins overview: require_login before _capability.

  • Loading branch information...
1 parent 2e5d013 commit 1c2bf99eb97abd74755bf9d21820a76acb6763f4 @timhunt timhunt committed Jan 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/plugins.php
View
@@ -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);

0 comments on commit 1c2bf99

Please sign in to comment.