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

Simplify com_content params model state #34892

Merged
merged 7 commits into from Oct 21, 2022

Conversation

joomdonation
Copy link
Contributor

Pull Request for Issue # .

Summary of Changes

The $params variable returned from $app->getParams(); already contains component parameters merged with active menu item parameters, so no need to merge it with active menu item parameters again.

For reference, we do it right in Categories model https://github.com/joomla/joomla-cms/blob/4.0-dev/components/com_content/src/Model/CategoriesModel.php#L69-L70

Testing Instructions

Code review only.

@joomdonation joomdonation changed the title Simplify com_content params model state [4.0] Simplify com_content params model state Jul 25, 2021
@chmst chmst changed the base branch from 4.0-dev to 4.1-dev January 31, 2022 15:51
@chmst chmst removed the PR-4.0-dev label Jan 31, 2022
@HLeithner HLeithner changed the base branch from 4.1-dev to 4.2-dev June 27, 2022 13:07
@HLeithner
Copy link
Member

This pull request has automatically rebased to 4.2-dev.

@joomla-bot
Copy link
Contributor

This pull requests has been automatically converted to the PSR-12 coding standard.

@Quy Quy added PR-4.2-dev and removed PR-4.1-dev labels Jul 3, 2022
@rdeutz rdeutz changed the base branch from 4.2-dev to 4.3-dev October 21, 2022 13:59
@rdeutz rdeutz changed the title [4.0] Simplify com_content params model state Simplify com_content params model state Oct 21, 2022
@rdeutz rdeutz removed the PR-4.2-dev label Oct 21, 2022
@bembelimen bembelimen merged commit 5dc4be7 into joomla:4.3-dev Oct 21, 2022
@bembelimen
Copy link
Contributor

Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants