get rid of svn keywords once and for good
[plcapi.git] / PLC / Methods / AddPersonToSite.py
index fce91f1..2144404 100644 (file)
@@ -1,12 +1,9 @@
-# $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 AddPersonToSite(Method):
     """
@@ -57,9 +54,4 @@ class AddPersonToSite(Method):
         self.message = 'Person %d added to site %d' % \
                        (person['person_id'], site['site_id'])
 
-        
-        sfa = SFA(self.api)
-        person['site_ids'] = [site['site_id']]
-        sfa.update_record(person, 'user')
-
         return 1