From 5e1f5a639f1f3d8b064d4254fd3d81239c393cc6 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 21 Jun 2021 16:24:59 +0200 Subject: Remove getGUID methods from Item classes --- core/namespace/User/Item.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'core/namespace/User/Item.php') diff --git a/core/namespace/User/Item.php b/core/namespace/User/Item.php index 8b1c3ed..5039287 100644 --- a/core/namespace/User/Item.php +++ b/core/namespace/User/Item.php @@ -3,15 +3,4 @@ namespace User; class Item extends \Item { const CONFIGURATION = 'USER'; - - #=============================================================================== - # Return unique pseudo GUID - #=============================================================================== - public function getGUID(): string { - foreach(['id', 'time_insert'] as $attribute) { - $attributes[] = $this->Attribute->get($attribute); - } - - return sha1(implode(NULL, $attributes)); - } } -- cgit v1.2.3