Skip to content

Commit

Permalink
Merge pull request #43 from s4ddly/master
Browse files Browse the repository at this point in the history
fix: Remove usage of depracted function getMasterRequest
  • Loading branch information
jorisdugue authored Jun 15, 2023
2 parents b3a8b31 + 1db10e3 commit 4039308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/H5PIntegration.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getGenericH5PIntegrationSettings()
'H5P' => $this->core->getLocalization(),
),
'hubIsEnabled' => $hubIsEnabled,
'siteUrl' => $this->requestStack->getMasterRequest()->getUri(),
'siteUrl' => $this->requestStack->getMainRequest()->getUri(),
'librairyConfig' => $this->core->h5pF->getLibraryConfig()
);
if (is_object($user)) {
Expand Down

0 comments on commit 4039308

Please sign in to comment.