Skip to content

Commit

Permalink
Method doesn't exist in TYPO3 11.5 #68 (#69)
Browse files Browse the repository at this point in the history
This patch provides v11 compatibility while maintaining support for TYPO3 v9 and v10.

Fixes #68
  • Loading branch information
mhuber84 authored Oct 6, 2021
1 parent 79f22e2 commit f495e1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Classes/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public function run(ServerRequestInterface $request): ResponseInterface
return $response;
}

Bootstrap::initializeBackendRouter();
if(method_exists(Bootstrap::class,'initializeBackendRouter')) {
Bootstrap::initializeBackendRouter();
}
Bootstrap::loadExtTables();

$data = $this->collectData();
Expand Down

0 comments on commit f495e1c

Please sign in to comment.