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 deprecated token function replaceComponentTokens #24934

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Remove deprecated token function

Before

  public static function replaceComponentTokens(&$str, $contact, $components, $escapeSmarty = FALSE, $returnEmptyToken = TRUE) {
    CRM_Core_Error::deprecatedFunctionWarning('use the token processor');

After

poof

Technical Details

Deprecation was in Sep 2011 - the commit message indicates a universe search was done at the time & not much showed up - 79594ce

Comments

@civibot
Copy link

civibot bot commented Nov 8, 2022

(Standard links)

@civibot civibot bot added the master label Nov 8, 2022
@eileenmcnaughton eileenmcnaughton changed the title Remove deprecated token function Remove deprecated token function replaceComponentTokens Nov 8, 2022
@colemanw
Copy link
Member

It's only been 11 years deprecated. Should we wait a little longer?

@colemanw colemanw merged commit 22f5a0d into civicrm:master Nov 13, 2022
@colemanw colemanw deleted the remove_replace_com branch November 13, 2022 21:29
@colemanw
Copy link
Member

I waited another 30 seconds. That should do it.

@eileenmcnaughton
Copy link
Contributor Author

oh 2021 - opps

@colemanw
Copy link
Member

It's ok I did wait that extra 30 seconds

@eileenmcnaughton
Copy link
Contributor Author

:-)

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

Successfully merging this pull request may close these issues.

2 participants