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

Finally remove apiv2 DeprecatedUtils #24208

Merged
merged 1 commit into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CRM/Contribute/Import/Parser/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,6 @@ public function formatInput(&$params, &$formatted = []) {
* @throws \CRM_Core_Exception
*/
private function deprecatedFormatParams($params, &$values, $create = FALSE) {
require_once 'CRM/Utils/DeprecatedUtils.php';
// copy all the contribution fields as is
require_once 'api/v3/utils.php';

Expand Down
2 changes: 0 additions & 2 deletions CRM/Event/Import/Parser/Participant.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
* @copyright CiviCRM LLC https://civicrm.org/licensing
*/

require_once 'CRM/Utils/DeprecatedUtils.php';

/**
* class to parse membership csv files
*/
Expand Down
1 change: 0 additions & 1 deletion CRM/Import/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,6 @@ protected function checkContactDuplicate(&$formatValues) {
//retrieve contact id using contact dedupe rule
$formatValues['contact_type'] = $formatValues['contact_type'] ?? $this->getContactType();
$formatValues['version'] = 3;
require_once 'CRM/Utils/DeprecatedUtils.php';
$params = $formatValues;
static $cIndieFields = NULL;
static $defaultLocationId = NULL;
Expand Down
76 changes: 0 additions & 76 deletions CRM/Utils/DeprecatedUtils.php

This file was deleted.

2 changes: 0 additions & 2 deletions tests/phpunit/api/v3/UtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
+--------------------------------------------------------------------+
*/

require_once 'CRM/Utils/DeprecatedUtils.php';

/**
* Test class for API utils
*
Expand Down