Revision: 1706
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1706&view=rev
Author:   cimorrison
Date:     2010-12-14 15:54:18 +0000 (Tue, 14 Dec 2010)

Log Message:
-----------
Incremented sequence number on cancellation

Modified Paths:
--------------
    mrbs/branches/ics_attachments/web/functions_mail.inc

Modified: mrbs/branches/ics_attachments/web/functions_mail.inc
===================================================================
--- mrbs/branches/ics_attachments/web/functions_mail.inc        2010-12-14 
14:16:11 UTC (rev 1705)
+++ mrbs/branches/ics_attachments/web/functions_mail.inc        2010-12-14 
15:54:18 UTC (rev 1706)
@@ -857,6 +857,10 @@
 function notifyAdminOnDelete($data, $series=FALSE, $action="delete", $note="")
 {
   global $mail_settings, $enable_periods;
+  
+  // As we are going to cancel this booking we need to increment the iCalendar
+  // sequence number
+  $data['ical_sequence']++;
 
   // Set up the addresses (from, to and cc)
   $addresses = create_addresses($data, $action);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to