Skip to content
Browse files

MDL-33385: Assignment plugin settings not visible in admin tree.

* Also fixes a regression where file_submissions were not set to default for new installs.
  • Loading branch information...
1 parent 4631e39 commit 0047693f09077e78386bb3e67bab1f33cb73caf3 Damyon Wiese committed May 30, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 mod/assign/settings.php
View
5 mod/assign/settings.php
@@ -36,6 +36,9 @@
$ADMIN->add('assignfeedbackplugins', new assign_admin_page_manage_assign_plugins('assignfeedback'));
+assign_plugin_manager::add_admin_assign_plugin_settings('assignsubmission', $ADMIN, $settings, $module);
+assign_plugin_manager::add_admin_assign_plugin_settings('assignfeedback', $ADMIN, $settings, $module);
+
if ($ADMIN->fulltree) {
$menu = array();
foreach (get_plugin_list('assignfeedback') as $type => $notused) {
@@ -54,4 +57,4 @@
new lang_string('configshowrecentsubmissions', 'assign'), 0));
$settings->add(new admin_setting_configcheckbox('assign/submissionreceipts',
get_string('sendsubmissionreceipts', 'mod_assign'), get_string('sendsubmissionreceipts_help', 'mod_assign'), 1));
-}
+}

0 comments on commit 0047693

Please sign in to comment.
Something went wrong with that request. Please try again.