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;
    }
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;
    }
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 ; }
Return user_deleted legacy event data.

@return \stdClass user data.
Return user_deleted legacy event data .