Merge branch 'wip-mdl-41415' of git://github.com/rajeshtaneja/moodle
This commit is contained in:
@@ -49,7 +49,7 @@ class user_loggedin extends \core\event\base {
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function get_legacy_logdata() {
|
||||
protected function get_legacy_logdata() {
|
||||
return array(SITEID, 'user', 'login', "view.php?id=" . $this->data['objectid'] . "&course=".SITEID,
|
||||
$this->data['objectid'], 0, $this->data['objectid']);
|
||||
}
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user