]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/PortableContact.php
"FetchPoCo" added
[friendica.git] / src / Protocol / PortableContact.php
index 228a96762cf718810ea25e136cbbf80192c6b552..60844df9f70f1dc8540856a6cf3667fe261686d0 100644 (file)
@@ -57,7 +57,7 @@ class PortableContact
        public static function loadWorker($cid, $uid = 0, $zcid = 0, $url = null)
        {
                // Call the function "load" via the worker
-               Worker::add(PRIORITY_LOW, "DiscoverPoCo", "load", (int)$cid, (int)$uid, (int)$zcid, $url);
+               Worker::add(PRIORITY_LOW, 'FetchPoCo', (int)$cid, (int)$uid, (int)$zcid, $url);
        }
 
        /**
@@ -488,7 +488,7 @@ class PortableContact
                                }
 
                                Logger::log('Update directory from server ' . $gserver['url'] . ' with ID ' . $gserver['id'], Logger::DEBUG);
-                               Worker::add(PRIORITY_LOW, 'DiscoverPoCo', 'update_server_directory', (int) $gserver['id']);
+                               Worker::add(PRIORITY_LOW, 'UpdateServerDirectory', (int)$gserver['id']);
 
                                if (!$complete && ( --$no_of_queries == 0)) {
                                        break;