]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/PortableContact.php
Replace BaseObject class with DI::* calls
[friendica.git] / src / Protocol / PortableContact.php
index d720910c5fb2ec82ab4af17ffab320c1ac135f10..49da85e6150eae01fd6f7fa4524feaa43c59ad1f 100644 (file)
@@ -270,7 +270,7 @@ class PortableContact
 
                        if (!DBA::isResult($r)) {
                                Logger::log("Call server check for server ".$server_url, Logger::DEBUG);
-                               Worker::add(PRIORITY_LOW, 'CheckServer', $server_url);
+                               Worker::add(PRIORITY_LOW, 'UpdateGServer', $server_url);
                        }
                }
        }
@@ -295,7 +295,7 @@ class PortableContact
 
                        if (!empty($servers['pods'])) {
                                foreach ($servers['pods'] as $server) {
-                                       Worker::add(PRIORITY_LOW, 'CheckServer', 'https://' . $server['host']);
+                                       Worker::add(PRIORITY_LOW, 'UpdateGServer', 'https://' . $server['host']);
                                }
                        }
                }
@@ -314,7 +314,7 @@ class PortableContact
 
                                        foreach ($servers['instances'] as $server) {
                                                $url = (is_null($server['https_score']) ? 'http' : 'https') . '://' . $server['name'];
-                                               Worker::add(PRIORITY_LOW, 'CheckServer', $url);
+                                               Worker::add(PRIORITY_LOW, 'UpdateGServer', $url);
                                        }
                                }
                        }