mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-56615 portfolio: fix php 7.0.9 warning
This commit is contained in:
parent
577bd70d38
commit
761ef5d33a
@ -202,7 +202,8 @@ final class portfolio_admin_form extends moodleform {
|
||||
if (portfolio_static_function($this->plugin, 'has_admin_config')) {
|
||||
require_once($CFG->libdir . '/portfolio/plugin.php');
|
||||
require_once($CFG->dirroot . '/portfolio/' . $this->plugin . '/lib.php');
|
||||
call_user_func(array('portfolio_plugin_' . $this->plugin, 'admin_config_form'), $mform);
|
||||
$classname = 'portfolio_plugin_' . $this->plugin;
|
||||
$classname::admin_config_form($mform);
|
||||
}
|
||||
|
||||
// and set the data if we have some.
|
||||
|
Loading…
x
Reference in New Issue
Block a user