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