summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSivaiah nallagatla <snallagatla@novell.com>2004-04-02 04:17:32 +0000
committerSivaiah Nallagatla <siva@src.gnome.org>2004-04-02 04:17:32 +0000
commita7e41298f145142aedc2fd42aba639d305a458dc (patch)
tree4314b634c7af8b2912870e7aa2c7c7f9124b373c
parent5211066164ea0ca0f2e0ab333c199ad4d78c1482 (diff)
downloadevolution-data-server-a7e41298f145142aedc2fd42aba639d305a458dc.tar.gz
remove items and item from the request and add container id to request
2004-04-01 Sivaiah nallagatla <snallagatla@novell.com> * e-gw-connection.c (e_gw_connection_remove_item) : remove items and item from the request and add container id to request
-rw-r--r--servers/groupwise/ChangeLog5
-rw-r--r--servers/groupwise/e-gw-connection.c7
2 files changed, 8 insertions, 4 deletions
diff --git a/servers/groupwise/ChangeLog b/servers/groupwise/ChangeLog
index 8ec654eab..93cf599f8 100644
--- a/servers/groupwise/ChangeLog
+++ b/servers/groupwise/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-01 Sivaiah nallagatla <snallagatla@novell.com>
+
+ * e-gw-connection.c (e_gw_connection_remove_item) : remove items and item from
+ the request and add container id to request
+
2004-04-01 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-item.c (e_gw_item_append_to_soap_message): s/iCalID/iCalId.
diff --git a/servers/groupwise/e-gw-connection.c b/servers/groupwise/e-gw-connection.c
index a7f49df76..9a2103650 100644
--- a/servers/groupwise/e-gw-connection.c
+++ b/servers/groupwise/e-gw-connection.c
@@ -892,10 +892,9 @@ e_gw_connection_remove_item (EGwConnection *cnc, const char *container, const ch
/* build the SOAP message */
msg = e_gw_message_new_with_header (cnc->priv->uri, cnc->priv->session_id, "removeItemRequest");
- //if (container && *container)
- // e_gw_message_write_string_parameter (msg, "container", NULL, container);
- soup_soap_message_start_element (msg, "items", NULL, NULL);
- e_gw_message_write_string_parameter (msg, "item", NULL, id);
+ if (container && *container)
+ e_gw_message_write_string_parameter (msg, "container", NULL, container);
+ e_gw_message_write_string_parameter (msg, "id", NULL, id);
soup_soap_message_end_element (msg);
e_gw_message_write_footer (msg);