From: Tony Mack Date: Thu, 3 Sep 2009 15:09:34 +0000 (+0000) Subject: remove sfa upcall, it will cause the person to get delted from plc when we really... X-Git-Tag: PLCAPI-4.3-23~3 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=cd08e0346a0c948fcd0967843953d9e805741ebf remove sfa upcall, it will cause the person to get delted from plc when we really only want to remove them from the site --- diff --git a/PLC/Methods/DeletePersonFromSite.py b/PLC/Methods/DeletePersonFromSite.py index 7400dc3..0345100 100644 --- a/PLC/Methods/DeletePersonFromSite.py +++ b/PLC/Methods/DeletePersonFromSite.py @@ -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