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