From 091222581dd89763aca5dc6c2b05c14d0cf369eb Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Wed, 28 Sep 2011 23:49:00 +0200 Subject: [PATCH] MDL-29479 Registered new plugin type "gradingform" --- lang/en/plugin.php | 2 ++ lib/moodlelib.php | 1 + 2 files changed, 3 insertions(+) diff --git a/lang/en/plugin.php b/lang/en/plugin.php index 2c82c4e2c6b..5e92a70e2eb 100644 --- a/lang/en/plugin.php +++ b/lang/en/plugin.php @@ -72,6 +72,8 @@ $string['type_gradeimport'] = 'Grade import method'; $string['type_gradeimport_plural'] = 'Grade import methods'; $string['type_gradereport'] = 'Gradebook report'; $string['type_gradereport_plural'] = 'Gradebook reports'; +$string['type_gradingform'] = 'Advanced grading method'; +$string['type_gradingform_plural'] = 'Advanced grading methods'; $string['type_local'] = 'Local plugin'; $string['type_local_plural'] = 'Local plugins'; $string['type_message'] = 'Messaging processor'; diff --git a/lib/moodlelib.php b/lib/moodlelib.php index f9db47c7e78..7a5c693dedc 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -7344,6 +7344,7 @@ function get_plugin_types($fullpaths=true) { 'gradeexport' => 'grade/export', 'gradeimport' => 'grade/import', 'gradereport' => 'grade/report', + 'gradingform' => 'grade/grading/form', 'mnetservice' => 'mnet/service', 'webservice' => 'webservice', 'repository' => 'repository',