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
/
DeleteRole.py
diff --git
a/PLC/Methods/DeleteRole.py
b/PLC/Methods/DeleteRole.py
index
c557851
..
e254a13
100644
(file)
--- a/
PLC/Methods/DeleteRole.py
+++ b/
PLC/Methods/DeleteRole.py
@@
-25,8
+25,6
@@
class DeleteRole(Method):
returns = Parameter(int, '1 if successful')
- event_type = 'Delete'
- object_type = 'Role'
def call(self, auth, role_id_or_name):
roles = Roles(self.api, [role_id_or_name])