diff options
Diffstat (limited to 'core/functions.php')
-rw-r--r-- | core/functions.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/functions.php b/core/functions.php index 538849b..bf04ccc 100644 --- a/core/functions.php +++ b/core/functions.php @@ -111,7 +111,6 @@ function generateItemTemplateData(EntityInterface $Entity): array { return [ 'URL' => Application::getEntityURL($Entity), - 'GUID' => generatePseudoGUID($Entity), 'ARGV' => $arguments, 'ATTR' => $attribute, @@ -152,16 +151,6 @@ function generateCategoryDataTree(array $category_data, $root = 0): array { } #=============================================================================== -# Generate pseudo GUID for entity -#=============================================================================== -function generatePseudoGUID(EntityInterface $Entity) { - return sha1(implode('', [ - $Entity->getID(), - $Entity->get('time_insert') - ])); -} - -#=============================================================================== # Parse content tags #=============================================================================== function parseContentTags(string $text): string { |