Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Remove a bunch of dead event_auth code. #6214

Merged
merged 5 commits into from
Oct 18, 2019
Merged

Remove a bunch of dead event_auth code. #6214

merged 5 commits into from
Oct 18, 2019

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Oct 17, 2019

  1. The check_auth dev script didn't work, and I don't think it's been used in years. Let's kill it off.

  2. The only possible rejection reason is AUTH_ERROR, so there was a whole swathe of unrachable code starting in _update_auth_events_and_context_for_auth. Rip it out, along with the stuff in federation_client which was only used there.

This doesn't work, and afaict hasn't been used since 2015.
The only possible rejection reason is AUTH_ERROR, so all of this is unreachable.
@richvdh richvdh requested a review from a team October 17, 2019 20:50
@richvdh richvdh merged commit 47ada4d into develop Oct 18, 2019
@richvdh richvdh deleted the rav/event_auth/1 branch October 18, 2019 17:47
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '47ada4dff':
  changelog
  rip out some unreachable code
  Remove dead check_auth script
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants