original_string: protected function get_legacy_eventdata() {
          $user = $this->get_record_snapshot('user', $this->objectid);
          $user->deleted = 0;
          $user->username = $this->other['username'];
          $user->email = $this->other['email'];
          $user->idnumber = $this->other['idnumber'];
          $user->picture = $this->other['picture'];
  
          return $user;
      }
code: protected function get_legacy_eventdata() {
          $user = $this->get_record_snapshot('user', $this->objectid);
          $user->deleted = 0;
          $user->username = $this->other['username'];
          $user->email = $this->other['email'];
          $user->idnumber = $this->other['idnumber'];
          $user->picture = $this->other['picture'];
  
          return $user;
      }
code_tokens: protected function get_legacy_eventdata ( ) { $ user = $ this -> get_record_snapshot ( 'user' , $ this -> objectid ) ; $ user -> deleted = 0 ; $ user -> username = $ this -> other [ 'username' ] ; $ user -> email = $ this -> other [ 'email' ] ; $ user -> idnumber = $ this -> other [ 'idnumber' ] ; $ user -> picture = $ this -> other [ 'picture' ] ; return $ user ; }
docstring: Return user_deleted legacy event data.
  
  @return \stdClass user data.
docstring_tokens: Return user_deleted legacy event data .