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