git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- - removed anything having to do with event_type/event_object
[plcapi.git]
/
PLC
/
Methods
/
AddRoleToPerson.py
diff --git
a/PLC/Methods/AddRoleToPerson.py
b/PLC/Methods/AddRoleToPerson.py
index
279fd71
..
08f183e
100644
(file)
--- a/
PLC/Methods/AddRoleToPerson.py
+++ b/
PLC/Methods/AddRoleToPerson.py
@@
-27,8
+27,6
@@
class AddRoleToPerson(Method):
returns = Parameter(int, '1 if successful')
- event_type = 'AddTo'
- object_type = 'Person'
def call(self, auth, role_id_or_name, person_id_or_email):
# Get all roles