diff options
Diffstat (limited to 'core/namespace/Page/Item.php')
-rw-r--r-- | core/namespace/Page/Item.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/namespace/Page/Item.php b/core/namespace/Page/Item.php index d559b81..46545d6 100644 --- a/core/namespace/Page/Item.php +++ b/core/namespace/Page/Item.php @@ -5,17 +5,6 @@ class Item extends \Item { const CONFIGURATION = 'PAGE'; #=============================================================================== - # Return absolute page URL - #=============================================================================== - public function getURL(): string { - if(\Application::get('PAGE.SLUG_URLS')) { - return \Application::getPageURL("{$this->Attribute->get('slug')}/"); - } - - return \Application::getPageURL("{$this->Attribute->get('id')}/"); - } - - #=============================================================================== # Return unique pseudo GUID #=============================================================================== public function getGUID(): string { |