[svn-commits] pitel: branch 1.8 r287271 - /branches/1.8/res/res_calendar_ews.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Sep 17 03:44:33 CDT 2010


Author: pitel
Date: Fri Sep 17 03:44:28 2010
New Revision: 287271

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=287271
Log:
Events are visible after they were removed from EWS calendar

Because we must merge calendar even when it's empty.

(closes issue #17786)

Modified:
    branches/1.8/res/res_calendar_ews.c

Modified: branches/1.8/res/res_calendar_ews.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_calendar_ews.c?view=diff&rev=287271&r1=287270&r2=287271
==============================================================================
--- branches/1.8/res/res_calendar_ews.c (original)
+++ branches/1.8/res/res_calendar_ews.c Fri Sep 17 03:44:28 2010
@@ -202,6 +202,7 @@
 		ctx->pvt->items = items;
 		if (items < 1) {
 			/* Stop processing XML if there are no events */
+			ast_calendar_merge_events(ctx->pvt->owner, ctx->pvt->events);
 			return NE_XML_DECLINE;
 		}
 		return 1;




More information about the svn-commits mailing list