X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FAdmIsPersonInRole.py;h=b32ab03528624d2f9657346326a1748d7a4b1fbd;hb=dc284781b50951778096561befcaa1bd33394168;hp=b031b64a1a8086f6f164e8f699a99f5fdcf9ddcd;hpb=eadabe20743d981fd2f2572337fe7594d0011bc7;p=plcapi.git diff --git a/PLC/Methods/AdmIsPersonInRole.py b/PLC/Methods/AdmIsPersonInRole.py index b031b64..b32ab03 100644 --- a/PLC/Methods/AdmIsPersonInRole.py +++ b/PLC/Methods/AdmIsPersonInRole.py @@ -29,8 +29,6 @@ class AdmIsPersonInRole(Method): returns = Parameter(int, "1 if account has role, 0 otherwise") - object_type = 'Person' - def call(self, auth, person_id_or_email, role_id_or_name): # This is a totally fucked up function. I have no idea why it # exists or who calls it, but here is how it is supposed to