MDL-41415 Events: get_string should not use new

This commit is contained in:
Rajesh Taneja 2013-08-27 11:35:32 +08:00
parent 41566267c5
commit ddf05b5e9d

View file

@ -60,7 +60,7 @@ class user_loggedin extends \core\event\base {
* @return string
*/
public static function get_name() {
return new get_string('event_user_loggedin', 'auth');
return get_string('event_user_loggedin', 'auth');
}
/**