Remove concept of context.auth_events, instead use context.current_state

This commit is contained in:
Erik Johnston 2015-03-16 13:06:23 +00:00
parent e7ce5d8b06
commit b2e6ee5b43
5 changed files with 7 additions and 33 deletions

View file

@ -430,12 +430,6 @@ class Auth(object):
builder.auth_events = auth_events_entries
context.auth_events = {
k: v
for k, v in context.current_state.items()
if v.type in AuthEventTypes
}
def compute_auth_events(self, event, current_state):
if event.type == EventTypes.Create:
return []