Skip to content

Commit 6a237d2

Browse files
authored
Revert the QM_RUN_IN_CLI constant
Defining QM_TESTS in Playground is enough. See #215
1 parent 783a875 commit 6a237d2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

integrations/query-monitor/boot.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
}
4040

4141
if ( 'cli' === php_sapi_name() && ! defined( 'QM_TESTS' ) ) {
42-
if ( ! defined( 'QM_RUN_IN_CLI' ) || ! QM_RUN_IN_CLI ) {
43-
return;
44-
}
42+
return;
4543
}
4644

4745
if ( defined( 'DOING_CRON' ) && DOING_CRON ) {

0 commit comments

Comments
 (0)