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

Deprecate Pledge::add() function #19411

Merged
merged 1 commit into from
Jan 18, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Jan 18, 2021

Overview

Deprecate Pledge::add() function

Before

add function is a sub function of create without any logical reason

After

add deprecated, copied into create

Technical Details

The add function is no longer called from anywhere and we have settled on preferring 1 create function and
standardising on that. I have left the inner code there but added the deprecation notice

Comments

@civibot
Copy link

civibot bot commented Jan 18, 2021

(Standard links)

@civibot civibot bot added the master label Jan 18, 2021
This function is no longer called from anywhere and we have settled on preferring 1 create function and
standardising on that. I have left the inner code there but added the deprecation notice
@mattwire mattwire merged commit 73b82cb into civicrm:master Jan 18, 2021
@eileenmcnaughton eileenmcnaughton deleted the deprecate_add branch January 18, 2021 19:52
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