Skip to content

Commit

Permalink
Remove the one time deployment guard
Browse files Browse the repository at this point in the history
  • Loading branch information
ingeniumed committed Oct 5, 2023
1 parent 3f48fce commit 506d1a9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions vip-integrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@
require_once __DIR__ . '/integrations/integration-vip-config.php';
require_once __DIR__ . '/integrations/block-data-api.php';
require_once __DIR__ . '/integrations/parsely.php';
require_once __DIR__ . '/integrations/vip-governance.php';

// Register VIP integrations here.
IntegrationsSingleton::instance()->register( new BlockDataApiIntegration( 'block-data-api' ) );
IntegrationsSingleton::instance()->register( new ParselyIntegration( 'parsely' ) );

// ToDo: Remove this after the initial deployment of the VIP Governance integration.
if ( file_exists( __DIR__ . '/integrations/vip-governance.php' ) ) {
require_once __DIR__ . '/integrations/vip-governance.php';
IntegrationsSingleton::instance()->register( new VipGovernanceIntegration( 'vip-governance' ) );
}
IntegrationsSingleton::instance()->register( new VipGovernanceIntegration( 'vip-governance' ) );

// @codeCoverageIgnoreEnd

Expand Down

0 comments on commit 506d1a9

Please sign in to comment.