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

Cleanup unused code #1756

Open
hansmorb opened this issue Feb 6, 2025 · 0 comments
Open

Cleanup unused code #1756

hansmorb opened this issue Feb 6, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@hansmorb
Copy link
Contributor

hansmorb commented Feb 6, 2025

Let's collect some unused classes / functions here in order to deprecate them in 2.11 and remove them in 2.12.

  • MapFilter class
  • CB1UserFields
    • set_basic_user_vars
    • add_user_vars
  • Helper/WordPress::getLocalDateTime
  • Migration class (see Migration rauschmeissen #1748)
  • CB/CB1UserFields.php (see CB1 User Feld entfernen #1749)
  • Model/CustomPost
    • setDate, getDate and the $this->date field (unused)
  • Model/Item::getRestrictions ; Model/Location::getRestrictions (Restrictions are never retrieved purely by item / location)
  • Model/Restriction
    • isLocked
    • getItemName ( accessed through {{item:post_title}} template tag over Item Model, not this method)
    • getLocationName ( can be accessed through {{location:post_title}} template tag, not needed here)
    • Repository/CB1 class (see Migration rauschmeissen #1748)
@hansmorb hansmorb added the enhancement New feature or request label Feb 6, 2025
@hansmorb hansmorb added this to the 2.11 milestone Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant