1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 17:44:04 +00:00

Fix global/central channel terminology

This commit is contained in:
lukinovec 2023-12-13 19:11:18 +01:00
parent 6c60a834d5
commit ca400b51d2
3 changed files with 4 additions and 4 deletions

View file

@ -101,7 +101,7 @@ class BroadcastChannelPrefixBootstrapper implements TenancyBootstrapper
}
}
// Give the tenant prefix to channels that aren't flagged as central
// Give the tenant prefix to channels that aren't flagged as global
if (! str($channel)->startsWith('global__')) {
$channel = str($channel)->after($defaultPrefix)->prepend($defaultPrefix . tenant()->getTenantKey() . '.');
}
@ -143,7 +143,7 @@ class BroadcastChannelPrefixBootstrapper implements TenancyBootstrapper
}
}
// Give the tenant prefix to channels that aren't flagged as central
// Give the tenant prefix to channels that aren't flagged as global
if (! str($channel)->startsWith('global__')) {
$channel = str($channel)->after($defaultPrefix)->prepend($defaultPrefix . tenant()->getTenantKey() . '.');
}