Skip to content

Commit

Permalink
Update ContactModel.php
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Aug 25, 2020
1 parent 68d7382 commit 8f2731a
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -130,7 +130,6 @@ protected function batchUser($value, $pks, $contexts)
*/
protected function canDelete($record)
{
// We ignore the requirement for an item to be trashed when calling delete from the API
if (empty($record->id) || $record->published != -2)
{
return false;
Expand Down

0 comments on commit 8f2731a

Please sign in to comment.