mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merge branch 'MDL-29983' of git://github.com/timhunt/moodle
This commit is contained in:
commit
203683e415
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue