]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/UpdateGServers.php
Merge remote-tracking branch 'upstream/develop' into move-delivery
[friendica.git] / src / Worker / UpdateGServers.php
index 108482eaecef4035336e8b1c7797c3f8ddacde29..25a2db16e0f8ac22b5bc95f98f698a4558c7c6b9 100644 (file)
@@ -63,12 +63,12 @@ class UpdateGServers
                        // There are duplicated "url" but not "nurl". So we check both addresses instead of just overwriting them,
                        // since that would mean loosing data.
                        if (!empty($gserver['url'])) {
-                               if (Worker::add(PRIORITY_LOW, 'UpdateGServer', $gserver['url'])) {
+                               if (Worker::add(Worker::PRIORITY_LOW, 'UpdateGServer', $gserver['url'])) {
                                        $count++;
                                }
                        }
                        if (!empty($gserver['nurl']) && ($gserver['nurl'] != Strings::normaliseLink($gserver['url']))) {
-                               if (Worker::add(PRIORITY_LOW, 'UpdateGServer', $gserver['nurl'])) {
+                               if (Worker::add(Worker::PRIORITY_LOW, 'UpdateGServer', $gserver['nurl'])) {
                                        $count++;
                                }
                        }