Skip to content

Commit

Permalink
Only propagate to sites within the same group (context)
Browse files Browse the repository at this point in the history
  • Loading branch information
octoberapp committed Sep 18, 2023
1 parent 8a13773 commit bb116e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Traits/Multisite.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public function isMultisiteSyncEnabled()
*/
public function getMultisiteSyncSites()
{
return Site::listSiteIds();
return Site::listSiteIdsInContext();
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/Support/Facades/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* @method static bool hasMultiSite()
* @method static array listEnabled()
* @method static array listSiteIds()
* @method static array listSiteIdsInContext()
* @method static array listSites()
* @method static int|null getSiteIdFromContext()
* @method static mixed getSiteFromContext()
Expand Down

0 comments on commit bb116e4

Please sign in to comment.