git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
35a0074
)
remove sfa upcall, it will cause the person to get delted from plc when we really...
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 3 Sep 2009 15:09:34 +0000
(15:09 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 3 Sep 2009 15:09:34 +0000
(15:09 +0000)
PLC/Methods/DeletePersonFromSite.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/DeletePersonFromSite.py
b/PLC/Methods/DeletePersonFromSite.py
index
7400dc3
..
0345100
100644
(file)
--- 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.Persons import Person, Persons
from PLC.Sites import Site, Sites
from PLC.Auth import Auth
-from PLC.SFA import SFA
class DeletePersonFromSite(Method):
"""
class DeletePersonFromSite(Method):
"""
@@
-57,7
+56,4
@@
class DeletePersonFromSite(Method):
self.message = 'Person %d deleted from site %d ' % \
(person['person_id'], site['site_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
return 1