original_string: protected static function delete_user_data($userid) {
          global $DB;
          $DB->delete_records_select('messageinbound_messagelist', 'userid = :userid', ['userid' => $userid]);
          \core_userkey\privacy\provider::delete_userkeys('messageinbound_handler', $userid);
      }
code: protected static function delete_user_data($userid) {
          global $DB;
          $DB->delete_records_select('messageinbound_messagelist', 'userid = :userid', ['userid' => $userid]);
          \core_userkey\privacy\provider::delete_userkeys('messageinbound_handler', $userid);
      }
code_tokens: protected static function delete_user_data ( $ userid ) { global $ DB ; $ DB -> delete_records_select ( 'messageinbound_messagelist' , 'userid = :userid' , [ 'userid' => $ userid ] ) ; \ core_userkey \ privacy \ provider :: delete_userkeys ( 'messageinbound_handler' , $ userid ) ; }
docstring: Delete a user's data.
  
  @param int $userid The user ID.
  @return void
docstring_tokens: Delete a user s data .