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

[4.0] Deprecate Table::getInstance #19529

Merged
merged 4 commits into from
Feb 4, 2018

Conversation

laoneo
Copy link
Member

@laoneo laoneo commented Feb 2, 2018

Ongoing effort to phase out getInstance code. This pr deprecates Table::getInstance.

I'm splitting #16918 into different pr's to be easier to review.

@mbabker
Copy link
Contributor

mbabker commented Feb 2, 2018

The include path logic should be deprecated here too. Without this getInstance method that code has no use.

@@ -318,7 +319,8 @@ public static function getInstance($type, $prefix = 'JTable', $config = array())
*
* @return array An array of filesystem paths to find Table classes in.
*
* @since 11.1
* @since 11.1
* @deprecated 5.0 Should not be used anymore as tables are loaded trough the MvcFactory
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: through

@wilsonge wilsonge merged commit 8377c35 into joomla:4.0-dev Feb 4, 2018
@wilsonge wilsonge added this to the Joomla 4.0 milestone Feb 4, 2018
@laoneo laoneo deleted the j4/deprecate/table branch February 5, 2018 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants