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

[6.0] Remove instances of Table::getInstance() from core code #44090

Open
wants to merge 4 commits into
base: 6.0-dev
Choose a base branch
from

Conversation

Hackwar
Copy link
Member

@Hackwar Hackwar commented Sep 16, 2024

Summary of Changes

Table::getInstance() has been deprecated some time ago and this PR removes most instances where this is used in the Joomla core.

Testing Instructions

Test that everything still works. Since this code is used nearly everywhere, there aren't really any more precise instructions.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@laoneo
Copy link
Member

laoneo commented Oct 4, 2024

Looks for me like a BC break as the getInstance function does a lookup in the container for instances.

@laoneo laoneo added the b/c break This item changes the behavior in an incompatible why. HEADS UP label Oct 4, 2024
@Hackwar
Copy link
Member Author

Hackwar commented Oct 4, 2024

You are right, I will convert this to 6.0-dev.

@Hackwar Hackwar changed the base branch from 5.3-dev to 6.0-dev October 4, 2024 09:36
@Hackwar Hackwar changed the title [5.3] Remove instances of Table::getInstance() from core code [6.0] Remove instances of Table::getInstance() from core code Oct 4, 2024
# Conflicts:
#	administrator/components/com_admin/script.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b/c break This item changes the behavior in an incompatible why. HEADS UP PR-5.3-dev PR-6.0-dev
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants