mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-41415 Events: get_string should not use new
This commit is contained in:
parent
41566267c5
commit
ddf05b5e9d
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class user_loggedin extends \core\event\base {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public static function get_name() {
|
public static function get_name() {
|
||||||
return new get_string('event_user_loggedin', 'auth');
|
return get_string('event_user_loggedin', 'auth');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue