CommentFileSizeAuthor
#2 totext-3025824.patch1.86 KBsteven jones

Comments

Steven Jones created an issue. See original summary.

steven jones’s picture

Status: Active » Needs review
StatusFileSize
new1.86 KB
steven jones’s picture

Status: Needs review » Needs work

Whoops! Large bug in that code:

+++ b/totext.module
@@ -87,11 +87,18 @@ function totext_send_message($destination, $message, $test_mode = FALSE) {
-  $response = drupal_http_request(TOTEXT_API_ENDPOINT, $http_vars);
+  $response = drupal_http_request('https://httpstat.us/200?sleep=5000', $http_vars);

Replace the real endpoint with a test one.

steven jones’s picture

Status: Needs work » Fixed

Fixed that and pushed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.