From 9e2e0df74c598d0fa703b69666757164d55b12b6 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Tue, 28 Apr 2015 07:48:00 +1000 Subject: [PATCH] Remove deprecated API on Psge::url --- modules/cms/classes/Page.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/cms/classes/Page.php b/modules/cms/classes/Page.php index 88210bde6..4b9b002da 100644 --- a/modules/cms/classes/Page.php +++ b/modules/cms/classes/Page.php @@ -102,13 +102,8 @@ class Page extends CmsCompoundObject * @param array $params Route parameters to consider in the URL. * @return string */ - public static function url($page, $params = [], $absolute = true) + public static function url($page, $params = []) { - /* @deprecated remove if year >= 2016 -- remove 3rd argument */ - if ($absolute !== true) { - traceLog('Deprecated warning: Third argument of Page::url() has no affect, consider removing it.'); - } - /* * Reuse existing controller or create a new one, * assuming that the method is called not during the front-end