Skip to content

Commit

Permalink
Not needed - new saveComplete event already comes last
Browse files Browse the repository at this point in the history
  • Loading branch information
octoberapp committed Aug 14, 2023
1 parent 83ee97f commit c77ad97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Database/Traits/Multisite.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ public function initializeMultisite()

$this->bindEvent('model.afterCreate', [$this, 'multisiteAfterCreate']);

// Process propagation last so relations are all set up correctly
$this->bindEvent('model.saveComplete', [$this, 'multisiteSaveComplete'], -1);
$this->bindEvent('model.saveComplete', [$this, 'multisiteSaveComplete']);

$this->defineMultisiteRelations();
}
Expand Down

0 comments on commit c77ad97

Please sign in to comment.