From: Michael Date: Wed, 15 Apr 2020 20:59:45 +0000 (+0000) Subject: Added documentation header X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=126b95d873fc81187abe76e6b04144a0069daced;p=friendica.git Added documentation header --- diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index 5b12d99160..023100dc72 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -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) diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 2923125546..5580234c64 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -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);