APIv3 - Refactor basic_create to use writeRecords when create/add functions are depre...
authorColeman Watts <coleman@civicrm.org>
Sat, 8 Jan 2022 19:13:12 +0000 (14:13 -0500)
committerColeman Watts <coleman@civicrm.org>
Sat, 8 Jan 2022 19:13:12 +0000 (14:13 -0500)
commit1b1e24cc0b25136f067c54a88cdaa9f1dbc22c18
treeb348dc8cd6318c39c9eeb3792be0715f0c39f847
parentbf46adf096530960162ebf8fd3f432128a86961c
APIv3 - Refactor basic_create to use writeRecords when create/add functions are deprecated

- Stops passing the deprecated `$ids` param to BAO::create
- Uses BAO::writeRecord when BAO::create or BAO::add are `@deprecated`
- Trust BAO::writeRecord to handle custom data
api/v3/utils.php