Skip to content

Commit 768ec32

Browse files
authored
Update Plugin.php
1 parent c5c70bd commit 768ec32

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugins/wpgraphql-debug-extensions/src/Plugin.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ private function setup(): void {
8181
// Ensure that the received instance is indeed a QueryAnalyzer.
8282
if ( $query_analyzer_instance instanceof OriginalQueryAnalyzer ) {
8383
$debug_analyzer = new QueryAnalyzer( $query_analyzer_instance );
84-
85-
// Initialize your extension. This is where it will register its own hooks
8684
$debug_analyzer->init();
8785

8886
$initialized = true;
@@ -120,4 +118,4 @@ public function __wakeup(): void {
120118
}
121119
}
122120

123-
endif;
121+
endif;

0 commit comments

Comments
 (0)