? ? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
2 Sep 2016

Summary of Changes

The data loaded from JFactory::getConfig() is already injected into the application object, so in places where we are already referencing the application object, we can skip referencing data out of another object. We can also save a little memory and not put a reference to the object in memory when only using it once.

We also have a JDEBUG constant which defines if the application is globally set to debug mode, use that as practical over referencing the configuration data.

Testing Instructions

The correct configuration values continue to be referenced in the changed locations.

Documentation Changes Required

N/A

avatar mbabker mbabker - open - 2 Sep 2016
avatar mbabker mbabker - change - 2 Sep 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Sep 2016
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 2 Sep 2016
Category Libraries Plugins Front End Unit Tests
avatar C-Lodder C-Lodder - test_item - 2 Sep 2016 - Tested successfully
avatar C-Lodder
C-Lodder - comment - 2 Sep 2016

I have tested this item successfully on 564b5e5

Based on code review


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

avatar andrepereiradasilva andrepereiradasilva - test_item - 2 Sep 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 2 Sep 2016

I have tested this item successfully on 564b5e5

code review and also applied patch navigated a little in frontend and backend and didn't find issues.


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

avatar zero-24 zero-24 - change - 2 Sep 2016
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 2 Sep 2016

RTC. based on the tests above.


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

avatar joomla-cms-bot joomla-cms-bot - change - 2 Sep 2016
Labels Added: ?
avatar wilsonge
wilsonge - comment - 3 Sep 2016

Merged with 12b0979

avatar wilsonge wilsonge - change - 3 Sep 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-09-03 11:07:45
Closed_By wilsonge
avatar wilsonge wilsonge - change - 3 Sep 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment