- added 'message' instance variable (high level description of this event)
[plcapi.git] / PLC / Methods / AdmDeletePersonKeys.py
index 01d4055..57c63f0 100644 (file)
@@ -36,6 +36,7 @@ class AdmDeletePersonKeys(Method):
             raise PLCInvalidArgument, "No such account"
 
         person = persons[0]
+       PLCCheckLocalPerson(person,"AdmDeletePersonKeys")
 
         if 'admin' not in self.caller['roles']:
             if self.caller['person_id'] != person['person_id']: