forked from civicrm/civicrm-core
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call apiv4 from Contribution create rather than fugly addActivity fun…
…ction I took a look at civicrm#17274 which has blocking test failures - but felt that the shared function was adding nothing and simply using the api to create the activity made more sense. The shared function does a lot of silly wrangling for very little shared functionality and is hard to read. In this call only 2 params are passed in - so most of the wranglingg doesn't apply anyway. I ensured the 2 JIRA issues referenced in the removed code have test cover (one already had a test written by Monish & I added in the campaign check
- Loading branch information
1 parent
a461078
commit 6e90264
Showing
2 changed files
with
41 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters