Skip to content

Commit

Permalink
only check for is_atomic constant
Browse files Browse the repository at this point in the history
not concerned with the atomic_client_id as of yet
  • Loading branch information
circlecube committed Feb 22, 2024
1 parent aff2a22 commit 6b60329
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ function () {
function () {
// set platform
$platform = 'default';
if (
defined( 'IS_ATOMIC' ) &&
IS_ATOMIC &&
defined( 'ATOMIC_CLIENT_ID' ) &&
'2' === ATOMIC_CLIENT_ID
) {
if ( defined( 'IS_ATOMIC' ) && IS_ATOMIC ) {
$platform = 'atomic';
}
setContext( 'platform', $platform );
Expand Down

0 comments on commit 6b60329

Please sign in to comment.