diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-21 16:24:59 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-21 16:24:59 +0200 |
commit | 5e1f5a639f1f3d8b064d4254fd3d81239c393cc6 (patch) | |
tree | 1174d968200a5cd9850ae6e635221a069d77db5d /core/namespace/User | |
parent | 1d921fc04bf73c6ca879f13e9737ad52596748c5 (diff) | |
download | blog-5e1f5a639f1f3d8b064d4254fd3d81239c393cc6.tar.gz blog-5e1f5a639f1f3d8b064d4254fd3d81239c393cc6.tar.xz blog-5e1f5a639f1f3d8b064d4254fd3d81239c393cc6.zip |
Remove getGUID methods from Item classes
Diffstat (limited to 'core/namespace/User')
-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 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)); - } } |