Skip to content

Commit

Permalink
Revert "MDL-36369 Non-admin managers could not access list of plugins"
Browse files Browse the repository at this point in the history
This reverts commit 22fae2a.
  • Loading branch information
danpoltawski committed Nov 8, 2012
1 parent a56dc90 commit 1cfff7b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions admin/settings/plugins.php
Expand Up @@ -304,8 +304,6 @@
// Question type settings
if ($hassiteconfig || has_capability('moodle/question:config', $systemcontext)) {
// Question behaviour settings.
require_once("$CFG->libdir/pluginlib.php");
$allplugins = plugin_manager::instance()->get_plugins();
$ADMIN->add('modules', new admin_category('qbehavioursettings', new lang_string('questionbehaviours', 'admin')));
$ADMIN->add('qbehavioursettings', new admin_page_manageqbehaviours());

Expand Down

0 comments on commit 1cfff7b

Please sign in to comment.