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/Post | |
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/Post')
-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 1adf897..e8b4615 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 unique pseudo GUID - #=============================================================================== - public function getGUID(): string { - foreach(\Application::get('POST.FEED_GUID') as $attribute) { - $attributes[] = $this->Attribute->get($attribute); - } - - return sha1(implode(NULL, $attributes)); - } - - #=============================================================================== # Return unique post IDs for search results #=============================================================================== public static function getSearchResultIDs($search, array $date, \Database $Database): array { |