From db3e19a76a2335c9cf88fb08441b35e0cc3648fc Mon Sep 17 00:00:00 2001
From: Thomas Lange <code@nerdmind.de>
Date: Mon, 21 Jun 2021 02:08:59 +0200
Subject: Remove getURL methods from Item classes

---
 core/namespace/User/Item.php | 11 -----------
 1 file changed, 11 deletions(-)

(limited to 'core/namespace/User')

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
@@ -4,17 +4,6 @@ namespace User;
 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
 	#===============================================================================
-- 
cgit v1.2.3