merge changes from HEAD
[plcapi.git] / PLC / Methods / DeleteAddressTypeFromAddress.py
index dfc473a..d4ea928 100644 (file)
@@ -42,6 +42,7 @@ class DeleteAddressTypeFromAddress(Method):
                 raise PLCPermissionDenied, "Address must be associated with one of your sites"
 
         address.remove_address_type(address_type)
-       self.object_ids = [address['address_id']]
+       self.event_objects = {'Address' : [address['address_id']],
+                             'AddressType': [address_type['address_type_id']]} 
 
         return 1