mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Remove deprecated API on Psge::url
This commit is contained in:
parent
a4ab611228
commit
9e2e0df74c
@ -102,13 +102,8 @@ class Page extends CmsCompoundObject
|
|||||||
* @param array $params Route parameters to consider in the URL.
|
* @param array $params Route parameters to consider in the URL.
|
||||||
* @return string
|
* @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,
|
* Reuse existing controller or create a new one,
|
||||||
* assuming that the method is called not during the front-end
|
* assuming that the method is called not during the front-end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user