remove sfa upcalls
[plcapi.git] / PLC / Methods / DeleteNode.py
index e62f23c..01e382a 100644 (file)
@@ -5,7 +5,6 @@ from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 from PLC.Auth import Auth
 from PLC.Nodes import Node, Nodes
 from PLC.Parameter import Parameter, Mixed
 from PLC.Auth import Auth
 from PLC.Nodes import Node, Nodes
-from PLC.SFA import SFA
 
 class DeleteNode(Method):
     """
 
 class DeleteNode(Method):
     """
@@ -55,7 +54,4 @@ class DeleteNode(Method):
         self.event_objects = {'Node': [node_id], 'Site': [site_id] }
         self.message = "Node %d deleted" % node['node_id']
 
         self.event_objects = {'Node': [node_id], 'Site': [site_id] }
         self.message = "Node %d deleted" % node['node_id']
 
-        sfa = SFA(self.api)
-        sfa.delete_record(node, 'node')       
-
         return 1
         return 1