use uuid4, not uuid5

This commit is contained in:
zotlabs 2018-09-06 20:19:44 -07:00
parent fc00dfd871
commit 4bfc438d9f

View file

@ -562,7 +562,7 @@ function item_message_id() {
$dups = false; $dups = false;
try { try {
$hash = Uuid::uuid5(Uuid::NAMESPACE_DNS, App::get_hostname())->toString(); $hash = Uuid::uuid4(Uuid::NAMESPACE_DNS, App::get_hostname())->toString();
} catch (UnsatisfiedDependencyException $e) { } catch (UnsatisfiedDependencyException $e) {
$hash = random_string(48); $hash = random_string(48);
} }
@ -591,7 +591,7 @@ function photo_new_resource() {
$found = false; $found = false;
try { try {
$hash = Uuid::uuid5(Uuid::NAMESPACE_DNS, App::get_hostname())->toString(); $hash = Uuid::uuid4(Uuid::NAMESPACE_DNS, App::get_hostname())->toString();
} catch (UnsatisfiedDependencyException $e) { } catch (UnsatisfiedDependencyException $e) {
$hash = random_string(48); $hash = random_string(48);
} }