Improved function description
This commit is contained in:
parent
040abc7743
commit
0aa229489f
2 changed files with 5 additions and 2 deletions
|
@ -1773,7 +1773,10 @@ class Item
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates an unique guid out of a given uri
|
||||
* Creates an unique guid out of a given uri.
|
||||
* This function is used for messages outside the fediverse (Connector posts, feeds, Mails, ...)
|
||||
* Posts that are created on this system are using System::createUUID.
|
||||
* Received ActivityPub posts are using Processor::getGUIDByURL.
|
||||
*
|
||||
* @param string $uri uri of an item entry
|
||||
* @param string $host hostname for the GUID prefix
|
||||
|
|
|
@ -553,7 +553,7 @@ class Processor
|
|||
}
|
||||
|
||||
/**
|
||||
* Generate a GUID out of an URL
|
||||
* Generate a GUID out of an URL of an ActivityPub post.
|
||||
*
|
||||
* @param string $url message URL
|
||||
* @return string with GUID
|
||||
|
|
Loading…
Reference in a new issue