From 512b19588e3286d27f290c6f8c8cc5ebce97e5b8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 2 Nov 2022 13:39:34 +0100 Subject: [PATCH] Use `LinkHandler::getControllerLink()` --- files/lib/page/LegalNoticePage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /** -- 2.20.1