mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
Merge branch 'MDL-29983' of git://github.com/timhunt/moodle
This commit is contained in:
commit
203683e415
@ -75,9 +75,9 @@ class question_type {
|
||||
*/
|
||||
public function local_name() {
|
||||
if (get_string_manager()->string_exists('pluginname', $this->plugin_name())) {
|
||||
$this->displayname = get_string('pluginname', $this->plugin_name());
|
||||
return get_string('pluginname', $this->plugin_name());
|
||||
} else {
|
||||
$this->displayname = get_string($this->name(), $this->plugin_name());
|
||||
return get_string($this->name(), $this->plugin_name());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user