remove sfa upcalls
[plcapi.git] / PLC / Methods / DeletePerson.py
index d890115..a199aec 100644 (file)
@@ -5,7 +5,6 @@ from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 from PLC.Persons import Person, Persons
 from PLC.Auth import Auth
-from PLC.SFA import SFA
 
 class DeletePerson(Method):
     """
@@ -51,7 +50,4 @@ class DeletePerson(Method):
         self.event_objects = {'Person': [person['person_id']]}
         self.message = 'Person %d deleted' % person['person_id']
 
-        sfa = SFA(self.api)
-        sfa.delete_record(person, 'user')
-
         return 1