X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FDeletePerson.py;h=a199aec38bd4c84fd703fdf955c90164dc9093ec;hb=e58db379e1197b73d3b6f014d5afd51ce852b43c;hp=d8901156060a4e899d7a2c0a5ea80e30c8d1dbe6;hpb=713e74813ad3dee0958294b3af731a8098eb61b1;p=plcapi.git diff --git a/PLC/Methods/DeletePerson.py b/PLC/Methods/DeletePerson.py index d890115..a199aec 100644 --- a/PLC/Methods/DeletePerson.py +++ b/PLC/Methods/DeletePerson.py @@ -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