remove sfa upcalls
[plcapi.git] / PLC / Methods / DeletePersonFromSite.py
index 7400dc3..0345100 100644 (file)
@@ -6,7 +6,6 @@ from PLC.Parameter import Parameter, Mixed
 from PLC.Persons import Person, Persons
 from PLC.Sites import Site, Sites
 from PLC.Auth import Auth
-from PLC.SFA import SFA
 
 class DeletePersonFromSite(Method):
     """
@@ -57,7 +56,4 @@ class DeletePersonFromSite(Method):
         self.message = 'Person %d deleted from site %d ' % \
                         (person['person_id'], site['site_id'])
 
-        sfa = SFA(self.api)
-        sfa.delete_record(person, 'user')
-
         return 1