MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
// skip restore of plugins that are not installed
|
||||
static $plugins;
|
||||
if (!isset($plugins)) {
|
||||
$plugins = get_list_of_plugins('mod/assignment/type');
|
||||
$plugins = array_keys(get_plugin_list('assignment'));
|
||||
}
|
||||
|
||||
if (!in_array($assignment->assignmenttype, $plugins)) {
|
||||
|
||||
Reference in New Issue
Block a user