-
Sub-task
-
Resolution: Fixed
-
Blocker
-
2.2
-
MOODLE_22_STABLE
-
MOODLE_23_STABLE
-
|
if (!$this->instance) {
|
$result = repository::static_function($this->plugin, 'instance_config_form', $mform);
|
if ($result === false) {
|
$mform->removeElement('name');
|
}
|
} else {
|
$data = array();
|
$data['name'] = $this->instance->name;
|
if (!$this->instance->readonly) {
|
$result = $this->instance->instance_config_form($mform);
|
is not acceptable in PHP5, please remove the static_function call completely because it can not be E_STRICT compatible:
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method repository_filesystem::instance_config_form() should not be called statically in /var/www/repositories/master/moodle/repository/lib.php on line 954