Esempio n. 1
0
 /**
  * Remove <> from the message id to ensure equality
  *
  * @param string $message_id
  * @return string
  */
 private static function cleanUpMessageId($message_id)
 {
     return cleanup_mailgun_message_id($message_id);
 }
Esempio n. 2
0
 /**
  * @param \stdClass $response
  */
 private static function cleanupResults(&$response)
 {
     // only keep what's necessary in the id key
     $response->http_response_body->id = cleanup_mailgun_message_id($response->http_response_body->id);
 }