MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements

This commit is contained in:
skodak
2009-01-31 20:07:32 +00:00
parent 9c421fab3b
commit 795a08adb7
17 changed files with 628 additions and 743 deletions
+6 -5
View File
@@ -95,7 +95,7 @@ function get_plugin_types() {
return array('mod' => 'mod',
'qtype' => 'question/type',
'blocks' => 'blocks',
'block' => 'blocks',
'auth' => 'auth',
'enrol' => 'enrol',
'format' => 'course/format',
@@ -105,11 +105,12 @@ function get_plugin_types() {
'message' => 'message/output',
'coursereport' => 'course/report',
'report' => $CFG->admin.'/report',
'quizreport' => 'mod/quiz/report',
'portfolio' => 'portfolio/type',
'trackerexport' => 'tracker/export',
'trackerimport' => 'tracker/import',
'trackerreport' => 'tracker/report',
// following types a very ugly hacks - we should not make exceptions like this - all plugins should be equal;
// these plugins may cause problems such as when wanting to uninstall them
'quizreport' => 'mod/quiz/report',
'assignment_type' => 'mod/assignment/type',
);
}