Skip to content

[6.1] house cleaning - removal deprecated helper and function #46028

Closed
hans2103 wants to merge 12 commits intojoomla:6.1-devfrom
hans2103:feature/6.0-icon.print_screen
Closed

[6.1] house cleaning - removal deprecated helper and function #46028
hans2103 wants to merge 12 commits intojoomla:6.1-devfrom
hans2103:feature/6.0-icon.print_screen

Conversation

@hans2103
Copy link
Contributor

@hans2103 hans2103 commented Sep 2, 2025

Pull Request for Issue #46026 .

Summary of Changes

This PR will remove the deprecated helper icons.php and associated language string.
It will also remove the deprecated function print_screen in the new Helper/icons

Testing Instructions

before and after doesn't matter in this case... both removed helper and function are not used in J6 anymore and even the layout called from the non-used function print_screen in the new helper does not exist.

Actual result BEFORE applying this Pull Request

Expected result AFTER applying this Pull Request

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@chmst
Copy link
Contributor

chmst commented Sep 3, 2025

Looks good for me. When the icon.php is removed, we have an empty folder: component/com_content/com_content.
Is this ok, @richard67?

@richard67
Copy link
Member

Looks good for me. When the icon.php is removed, we have an empty folder: component/com_content/com_content.
Is this ok, @richard67?

@chmst Sure we have an empty folder? When you remove the last file in a folder in git, the the folder is also removed. Check out the branch of this PR in a git client or check the package created by drone for this PR. There will not be that empty folder.

@chmst
Copy link
Contributor

chmst commented Sep 6, 2025

I have tested this item ✅ successfully on 7599f5e


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

@laoneo
Copy link
Member

laoneo commented Sep 10, 2025

I would also suggest to create a class alias here to the JHtmlIcon class. Like this it will trigger only a static function call warning and not produce a fatal error that the class doesn't exist.

@hans2103
Copy link
Contributor Author

hans2103 commented Oct 4, 2025

I would also suggest to create a class alias here to the JHtmlIcon class. Like this it will trigger only a static function call warning and not produce a fatal error that the class doesn't exist.

This "bug" is out of scope for my PR.

@hans2103
Copy link
Contributor Author

hans2103 commented Dec 2, 2025

Solved merge conflict

@bembelimen
Copy link
Contributor

We can't deprecate in a bugfix version, so it has to be included in 6.1 @HLeithner & @tecpromotion

@HLeithner HLeithner changed the base branch from 6.0-dev to 6.1-dev December 8, 2025 21:38
@HLeithner HLeithner changed the title [6.0] house cleaning - removal deprecated helper and function [6.1] house cleaning - removal deprecated helper and function Dec 8, 2025
HLeithner and others added 2 commits December 8, 2025 22:39
Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com>
@bembelimen bembelimen added RMDQ ReleaseManagerDecisionQueue and removed PR-6.1-dev labels Dec 8, 2025
COM_CONTENT_ERROR_ARTICLE_NOT_FOUND="Article not found"
COM_CONTENT_ERROR_LOGIN_TO_VIEW_ARTICLE="Please login to view the article"
COM_CONTENT_ERROR_PARENT_CATEGORY_NOT_FOUND="Parent category not found"
COM_CONTENT_ERROR_PRINT_POPUP="Sorry, Joomla no longer supports print_popup"
Copy link
Member

Choose a reason for hiding this comment

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

This needs proper deprecation too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fine... closing the issue so someone else can solve it with proper deprecation notions.

@hans2103 hans2103 closed this Dec 9, 2025
@hans2103 hans2103 deleted the feature/6.0-icon.print_screen branch December 9, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators PR-6.0-dev PR-6.1-dev RMDQ ReleaseManagerDecisionQueue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants