aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/namespace/Item.php2
-rw-r--r--core/namespace/Page/Item.php11
-rw-r--r--core/namespace/Post/Item.php11
-rw-r--r--core/namespace/User/Item.php11
4 files changed, 0 insertions, 35 deletions
diff --git a/core/namespace/Item.php b/core/namespace/Item.php
index 96f2355..0cd504b 100644
--- a/core/namespace/Item.php
+++ b/core/namespace/Item.php
@@ -4,8 +4,6 @@ abstract class Item implements ItemInterface {
protected $Attribute = NULL;
protected $Reflection = NULL;
- abstract public function getGUID();
-
#===============================================================================
# Abstract item constructor
#===============================================================================
diff --git a/core/namespace/Page/Item.php b/core/namespace/Page/Item.php
index 46545d6..cbc99e6 100644
--- a/core/namespace/Page/Item.php
+++ b/core/namespace/Page/Item.php
@@ -5,17 +5,6 @@ class Item extends \Item {
const CONFIGURATION = 'PAGE';
#===============================================================================
- # Return unique pseudo GUID
- #===============================================================================
- public function getGUID(): string {
- foreach(\Application::get('PAGE.FEED_GUID') as $attribute) {
- $attributes[] = $this->Attribute->get($attribute);
- }
-
- return sha1(implode(NULL, $attributes));
- }
-
- #===============================================================================
# Return unique page IDs for search results
#===============================================================================
public static function getSearchResultIDs($search, \Database $Database): array {
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 {
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));
- }
}