Added documentation header
This commit is contained in:
parent
f871105ef9
commit
126b95d873
|
@ -576,6 +576,12 @@ class Processor
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Store tags and mentions into the tag table
|
||||
*
|
||||
* @param integer $uriid
|
||||
* @param array $tags
|
||||
*/
|
||||
private static function storeTags(int $uriid, array $tags = null)
|
||||
{
|
||||
// Make sure to delete all existing tags (can happen when called via the update functionality)
|
||||
|
|
|
@ -1810,6 +1810,12 @@ class Diaspora
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Store the mentions in the tag table
|
||||
*
|
||||
* @param integer $uriid
|
||||
* @param string $text
|
||||
*/
|
||||
private static function storeMentions(int $uriid, string $text)
|
||||
{
|
||||
preg_match_all('/([@!]){(?:([^}]+?); ?)?([^} ]+)}/', $text, $matches, PREG_SET_ORDER);
|
||||
|
|
Loading…
Reference in a new issue