diff --git a/integrations/query-monitor/boot.php b/integrations/query-monitor/boot.php index 7e8ae300..83c42672 100644 --- a/integrations/query-monitor/boot.php +++ b/integrations/query-monitor/boot.php @@ -39,9 +39,7 @@ } if ( 'cli' === php_sapi_name() && ! defined( 'QM_TESTS' ) ) { - if ( ! defined( 'QM_RUN_IN_CLI' ) || ! QM_RUN_IN_CLI ) { - return; - } + return; } if ( defined( 'DOING_CRON' ) && DOING_CRON ) {