/[drupal]/contributions/modules/send/send.module
ViewVC logotype

Diff of /contributions/modules/send/send.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.48, Mon May 25 20:25:56 2009 UTC revision 1.49, Tue May 26 15:09:52 2009 UTC
# Line 31  function send_profile_load($name) { Line 31  function send_profile_load($name) {
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.
# Line 41  function send_hash_load($hash) { Line 41  function send_hash_load($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()) {

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

  ViewVC Help
Powered by ViewVC 1.1.2