Conflicting Files ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
17 Jul 2021

Pull Request for Issue # .

Summary of Changes

This PRs made several clean up to Category model class in our components:

  • Remove un-used class properties (maybe it was used in the past, or even it is there by copy/paste during development)
  • Added missing _leftsibling and _rightsibling class properties
  • Remove unnessary bracket (). We are having more than needed in some line of code.
  • Simpy the code to get active menu item from:
$app = Factory::getApplication();
$menu = $app->getMenu();
$active = $menu->getActive();

To single line of code:

$active = Factory::getApplication()->getMenu()->getActive();

Testing Instructions

Code review should be enough. If you have good IDE like phpstorm, it will clearly show you that the removed class properties are un-used.

avatar joomdonation joomdonation - open - 17 Jul 2021
avatar joomdonation joomdonation - change - 17 Jul 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jul 2021
Category Front End com_contact com_content com_newsfeeds
avatar joomdonation joomdonation - change - 17 Jul 2021
Labels Added: ?
avatar joomdonation joomdonation - change - 17 Jul 2021
The description was changed
avatar joomdonation joomdonation - edited - 17 Jul 2021
5aefced 18 Jul 2021 avatar space
avatar HLeithner
HLeithner - comment - 27 Jun 2022

This pull request has automatically rebased to 4.2-dev.

avatar joomdonation
joomdonation - comment - 29 Dec 2022

Close due to conflicts. Will redo the PR at a later time

avatar joomdonation joomdonation - close - 29 Dec 2022
avatar joomdonation joomdonation - change - 29 Dec 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-12-29 15:11:20
Closed_By joomdonation
Labels Added: Conflicting Files ?
Removed: ?

Add a Comment

Login with GitHub to post a comment