(*) Peer has new fields person_ids and site_ids
[plcapi.git] / PLC / Methods / DeleteNode.py
index 64f149a..0f07230 100644 (file)
@@ -32,6 +32,7 @@ class DeleteNode(Method):
             raise PLCInvalidArgument, "No such node"
 
         node = nodes[0]
+       PLCCheckLocalNode(node,"DeleteNode")
 
         # If we are not an admin, make sure that the caller is a
         # member of the site at which the node is located.