Skip to content

Commit

Permalink
same with deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
i-just committed Jun 28, 2024
1 parent 542c8d3 commit e4edfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public function delete($elementIds): bool
$elementsService = Craft::$app->getElements();

foreach ($elementIds as $elementId) {
$elementsService->deleteElementById($elementId, $class);
$elementsService->deleteElementById($elementId, $class, $this->feed->siteId);
}

return true;
Expand Down

0 comments on commit e4edfae

Please sign in to comment.