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

Remove broken method CRM_Utils_File::isHtml() #25233

Merged
merged 1 commit into from
Dec 29, 2022

Conversation

braders
Copy link
Contributor

@braders braders commented Dec 29, 2022

Overview

Remove broken method CRM_Utils_File::isHtml()

Before

The method CRM_Utils_File::isHtml() referenced CRM_Utils_String::isHtml($line) which does not exist (and has not existed for at least 10 years, and maybe never). Therefore CRM_Utils_File::isHtml() won't work as expected.

After

The method is gone.

Comments

Usually when removing a method, the correct thing to do would be to initially deprecated it. However, given how broken the method appears, I thought it was probably ok to just remove it. That said, it might be worth someone doing a check on universe (I don't have it setup myself).

@civibot
Copy link

civibot bot commented Dec 29, 2022

(Standard links)

@civibot civibot bot added the master label Dec 29, 2022
@demeritcowboy
Copy link
Contributor

It's not used in universe.

Yeah this came up in passing before: #22425

@eileenmcnaughton eileenmcnaughton merged commit f2795c8 into civicrm:master Dec 29, 2022
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.

3 participants