Skip to content

Commit

Permalink
Merge pull request #16 from mineadmin/2.0-dev
Browse files Browse the repository at this point in the history
Update MapperTrait.php
  • Loading branch information
kanyxmo authored Feb 5, 2024
2 parents 099711c + 2edbd2a commit 49d1ea7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/mine-core/src/Traits/MapperTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,6 @@ public function readByRecycle(mixed $id): ?MineModel
public function delete(array $ids): bool
{
$this->model::destroy($ids);

$manager = ApplicationContext::getContainer()->get(Manager::class);
$manager->destroy($ids, $this->model);

return true;
}

Expand Down

0 comments on commit 49d1ea7

Please sign in to comment.