-# $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.Sites import Site, Sites
from PLC.Auth import Auth
-from PLC.SFA import SFA
class DeletePersonFromSite(Method):
"""
# Logging variables
self.event_objects = {'Site': [site['site_id']],
- 'Person': [person['person_id']]}
- self.message = 'Person %d deleted from site %d ' % \
+ 'Person': [person['person_id']]}
+ 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