mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
"MDL-13766, fixed function call"
This commit is contained in:
parent
e21c56bdb0
commit
d7497b1283
@ -50,7 +50,7 @@ if (($action == 'edit') || ($action == 'new')) {
|
||||
$configs = call_user_func(array($classname, 'get_type_option_names'));
|
||||
$plugin = $repositorytype->get_typename();
|
||||
// looking for instance to edit plugin name
|
||||
$instanceoptions = $classname::get_instance_option_names();
|
||||
$instanceoptions = call_user_func(array($classname, 'get_instance_option_names'));
|
||||
if (empty($instanceoptions)) {
|
||||
$params = array();
|
||||
$params['type'] = $plugin;
|
||||
|
Loading…
x
Reference in New Issue
Block a user