Skip to content

Commit

Permalink
Add code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wpalani committed Jan 9, 2024
1 parent 8ef28e5 commit ff87639
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/Deactivation.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public function handle() {
*/
public function site_launched_event() {
$coming_soon_service = $this->container->has( 'comingSoon' ) ? $this->container->get( 'comingSoon' ) : null;
// Verify that the coming soon page is active.
if ( $coming_soon_service && $coming_soon_service->is_enabled() ) {
$site_launch_event = new Events\SiteLaunched();
$site_launch_event->send();
Expand Down

0 comments on commit ff87639

Please sign in to comment.