MDL-44746 core_events: removed incorrect use of snapshot

This commit is contained in:
Mark Nelson
2014-03-28 16:55:24 -07:00
parent 18b388efe7
commit 12d0bf448f
+1 -2
View File
@@ -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;
}
/**