/[drupal]/contributions/modules/rsvp/rsvp.api.inc
ViewVC logotype

Diff of /contributions/modules/rsvp/rsvp.api.inc

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

revision 1.2.2.4, Sun Mar 1 22:26:13 2009 UTC revision 1.2.2.5, Wed Oct 14 07:01:32 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: rsvp.api.inc,v 1.2.2.3 2009/02/25 22:15:27 ulf1 Exp $  // $Id: rsvp.api.inc,v 1.2.2.4 2009/03/01 22:26:13 ulf1 Exp $
3    
4  /**  /**
5   * @module rsvp_api   * @module rsvp_api
# Line 136  function rsvp_api_remove_invitation($rid Line 136  function rsvp_api_remove_invitation($rid
136          if ($perm_del == true) {          if ($perm_del == true) {
137            $success = rsvp_function_delete_rsvp($rsvp->rid);            $success = rsvp_function_delete_rsvp($rsvp->rid);
138            if ($success == true) {            if ($success == true) {
139              drupal_set_message(t('Invitation %rsvp_name(%rid) has been removed successfully.'), array('%rsvp_name' => $rsvp->name, '%rid' => $rsvp->rid));              //if this function is called by nodeapi when deleting a node, drupal_set_message generates illegal offset errors.
140                //drupal_set_message(t('Invitation %rsvp_name(%rid) has been removed successfully.'), array('%rsvp_name' => $rsvp->name, '%rid' => $rsvp->rid));
141              watchdog('action', 'Removed invitation %rsvp_name(%rid) successfully.', array('%rsvp_name' => $rsvp->name, '%rid' => $rsvp->rid));              watchdog('action', 'Removed invitation %rsvp_name(%rid) successfully.', array('%rsvp_name' => $rsvp->name, '%rid' => $rsvp->rid));
142            }            }
143          }          }

Legend:
Removed from v.1.2.2.4  
changed lines
  Added in v.1.2.2.5

  ViewVC Help
Powered by ViewVC 1.1.2