Merge branch 'wip-mdl-41415' of git://github.com/rajeshtaneja/moodle

This commit is contained in:
Damyon Wiese
2013-08-27 16:06:32 +08:00
+2 -2
View File
@@ -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');
}
/**