Skip to content

Commit

Permalink
Merge pull request #22662 from colemanw/softDeleteEntity
Browse files Browse the repository at this point in the history
[REF] APIv4 - Rename trait 'SoftDelete' to 'SoftDeleteEntity'
  • Loading branch information
demeritcowboy authored Feb 2, 2022
2 parents 7c19725 + d4193d1 commit 1d315b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Civi/Api4/Action/Contact/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @inheritDoc
*/
class Delete extends \Civi\Api4\Generic\DAODeleteAction {
use \Civi\Api4\Generic\Traits\SoftDelete;
use \Civi\Api4\Generic\Traits\SoftDeleteEntity;

/**
* @param $items
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @method $this setUseTrash(bool $useTrash) Pass FALSE to force delete and bypass trash
* @method bool getUseTrash()
*/
trait SoftDelete {
trait SoftDeleteEntity {

/**
* Should $ENTITY be moved to the trash instead of permanently deleted?
Expand Down

0 comments on commit 1d315b3

Please sign in to comment.