Ejemplo n.º 1
0
 def delete_user(self, id):
     """Delete a user"""
     user = db.user_get(context.get_admin_context(), id)
     db.user_delete(context.get_admin_context(), user['id'])
Ejemplo n.º 2
0
 def delete_user(self, id):
     """Delete a user"""
     user = db.user_get(context.get_admin_context(), id)
     db.user_delete(context.get_admin_context(), user['id'])