| 31 |
} |
} |
| 32 |
|
|
| 33 |
/** |
/** |
| 34 |
* Load callback for send_profiles. |
* Load callback for send_recipients, using a unique hash. |
| 35 |
*/ |
*/ |
| 36 |
function send_hash_load($hash) { |
function send_hash_load($hash) { |
| 37 |
// There's a small possibility of collision here, use the most recent hash. |
// There's a small possibility of collision here, use the most recent hash. |
| 41 |
} |
} |
| 42 |
|
|
| 43 |
/** |
/** |
| 44 |
|
* Load callback for send_recipients, using an id. |
| 45 |
|
*/ |
| 46 |
|
function send_recipient_load($srid) { |
| 47 |
|
$res = db_query("SELECT * FROM {send_recipient} WHERE srid = %d", $srid); |
| 48 |
|
return db_fetch_object($res); |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
/** |
| 52 |
* Access callback for send forms. |
* Access callback for send forms. |
| 53 |
*/ |
*/ |
| 54 |
function send_access($profile = NULL, $nodes = array()) { |
function send_access($profile = NULL, $nodes = array()) { |