Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21c56b
)
"MDL-13766, fixed function call"
author
Dongsheng Cai
<unoter@gmail.com>
Tue, 3 Aug 2010 07:16:33 +0000
(07:16 +0000)
committer
Dongsheng Cai
<unoter@gmail.com>
Tue, 3 Aug 2010 07:16:33 +0000
(07:16 +0000)
admin/repository.php
patch
|
blob
|
blame
|
history
diff --git
a/admin/repository.php
b/admin/repository.php
index
e0fb6dd
..
feed580
100644
(file)
--- a/
admin/repository.php
+++ b/
admin/repository.php
@@
-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;