MDL-44746 core_events: removed incorrect use of snapshot
This commit is contained in:
@@ -58,8 +58,7 @@ class user_deleted extends base {
|
||||
* @return string
|
||||
*/
|
||||
public function get_description() {
|
||||
$user = $this->get_record_snapshot('user', $this->data['objectid']);
|
||||
return 'User profile deleted for userid ' . $user->id;
|
||||
return 'User profile deleted for userid ' . $this->objectid;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user