? ? Pending

User tests: Successful: Unsuccessful:

avatar Quy
Quy
12 May 2018

Redo Issue #16460.

Summary of Changes

Deprecate ContactModelContact::getContactQuery() instead of removing.

This removes the method ContactModelContact::getContactQuery(). I was unable to find any place in our codebase where we use it and to be honest, it looks as if this was added 8 years ago rather by mistake. All changes since then seem to have been mass-refactorings. While the method does return more or less correct data, it does not return all data that you get with ContactModelContact::getItem(). Since the method is protected and in a component, there should be no issue with backwards compatibility.

Thanks @Hackwar

Testing Instructions

Code review

avatar Quy Quy - open - 12 May 2018
avatar Quy Quy - change - 12 May 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 May 2018
Category Front End com_contact
avatar SharkyKZ SharkyKZ - test_item - 15 May 2018 - Tested successfully
avatar SharkyKZ
SharkyKZ - comment - 15 May 2018

I have tested this item successfully on 697f5f7


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20353.

avatar carlitorweb carlitorweb - test_item - 16 May 2018 - Tested successfully
avatar carlitorweb
carlitorweb - comment - 16 May 2018

I have tested this item successfully on 697f5f7


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20353.

avatar Quy Quy - change - 16 May 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 16 May 2018

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20353.

avatar mbabker mbabker - close - 28 May 2018
avatar mbabker mbabker - merge - 28 May 2018
avatar mbabker mbabker - change - 28 May 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-05-28 14:56:32
Closed_By mbabker
Labels Added: ? ?

Add a Comment

Login with GitHub to post a comment