From: Tim Düsterhus Date: Wed, 2 Nov 2022 12:39:34 +0000 (+0100) Subject: Use `LinkHandler::getControllerLink()` X-Git-Tag: 6.0.0_Beta_1~7^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=512b19588e3286d27f290c6f8c8cc5ebce97e5b8;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.legalNotice.git Use `LinkHandler::getControllerLink()` --- diff --git a/files/lib/page/LegalNoticePage.class.php b/files/lib/page/LegalNoticePage.class.php index 55c2aff..8b085af 100644 --- a/files/lib/page/LegalNoticePage.class.php +++ b/files/lib/page/LegalNoticePage.class.php @@ -25,7 +25,7 @@ final class LegalNoticePage extends AbstractPage { parent::readParameters(); - $this->canonicalURL = LinkHandler::getInstance()->getLink('LegalNotice'); + $this->canonicalURL = LinkHandler::getInstance()->getControllerLink(static::class); } /**