Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused admin templates #9033

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Conversation

RayBB
Copy link
Collaborator

@RayBB RayBB commented Apr 4, 2024

Noticed some empty templates when reviewing: #9020

Pretty sure these are all unused templates.
I tested this by visiting them on prod and on localhost. They all 404 (instead of permission denied)

I also did a fulltext search of the codebase for these strings:

  • admin/command
  • admin/email
  • admin/email_reassign
  • admin/profile

All other templates in this folder were found via one of the above methods.

Technical

Testing

Screenshot

Stakeholders

@RayBB RayBB added the Needs: Review This issue/PR needs to be reviewed in order to be closed or merged (see comments). [managed] label Apr 4, 2024
Copy link
Collaborator

@scottbarnes scottbarnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, @RayBB.

@scottbarnes scottbarnes force-pushed the remove-unused-admin-templates branch from 22afd31 to 6a8de1f Compare April 9, 2024 05:39
@scottbarnes scottbarnes merged commit 6d29a27 into master Apr 9, 2024
3 checks passed
@scottbarnes scottbarnes deleted the remove-unused-admin-templates branch April 9, 2024 05:42
Achorn pushed a commit to Achorn/openlibrary that referenced this pull request Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Review This issue/PR needs to be reviewed in order to be closed or merged (see comments). [managed]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants