get rid of svn keywords once and for good
[plcapi.git] / PLC / Methods / DeletePerson.py
index 399a7c1..e85d2e9 100644 (file)
@@ -1,11 +1,8 @@
-# $Id$
-# $URL$
 from PLC.Faults import *
 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):
     """
@@ -46,12 +43,9 @@ class DeletePerson(Method):
             raise PLCPermissionDenied, "Not allowed to delete specified account"
 
         person.delete()
-       
+
         # Logging variables
         self.event_objects = {'Person': [person['person_id']]}
         self.message = 'Person %d deleted' % person['person_id']
 
-        sfa = SFA(self.api)
-        sfa.delete_record(person, 'person')
-
         return 1