]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/FetchPoCo.php
Don't add contacts when not needed
[friendica.git] / src / Worker / FetchPoCo.php
index 372bd37337b5eb68370866a13c6bef96b763c973..67f2e548bd9a5d6adf91262041bcb00adc5d3945 100644 (file)
@@ -9,7 +9,14 @@ use Friendica\Protocol\PortableContact;
 
 class FetchPoCo
 {
-       // Load POCO data from a given POCO address
+       /**
+        * Fetch PortableContacts from a given PoCo server address
+        *
+        * @param integer $cid  Contact ID
+        * @param integer $uid  User ID
+        * @param integer $zcid Global Contact ID
+        * @param integer $url  PoCo address that should be polled
+        */
        public static function execute($cid, $uid, $zcid, $url)
        {
                PortableContact::load($cid, $uid, $zcid, $url);