Closed (fixed)
Project:
Notifo
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Jul 2010 at 00:48 UTC
Updated:
2 May 2011 at 15:41 UTC
Jump to comment: Most recent file
Is it worth switching to using http://api.drupal.org/api/function/drupal_http_request/6 rather than CURL in the code that connects to the API?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 845906-notifo-drupal_http_request.patch | 3.27 KB | snufkin |
Comments
Comment #1
snufkin commentedI believe it is better, because its less code, closer to the general Drupal API as well. This patch uses drupal_http_request and restructures the code to a simpler form. Now there is one function that contains the remote call, the old per-function calls (aka "send a notification", "subscribe user" are now creating a simple query array only and calling this one remote call.
Tested both subscripting, unsubscribing and notifications.
Comment #2
snufkin commented