]> git.mxchange.org Git - friendica.git/commitdiff
Added documentation header
authorMichael <heluecht@pirati.ca>
Wed, 15 Apr 2020 20:59:45 +0000 (20:59 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 15 Apr 2020 20:59:45 +0000 (20:59 +0000)
src/Protocol/ActivityPub/Processor.php
src/Protocol/Diaspora.php

index 5b12d991600b05cc003c21e66f64c5e4fb878532..023100dc7223f9e6b73713e92205c8db5ad7ff83 100644 (file)
@@ -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)
index 2923125546fac572847c188c6785d8ada2eb0f07..5580234c6428f673f4be70e562ce2b0b42a8115b 100644 (file)
@@ -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);