]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact.php
The priority is now a class constant
[friendica.git] / src / Module / Contact.php
index 9c073b3ef1a892a15b06951eb0fb58107a5338e5..4f565a87176d7448a2ae9e9f32207ceea1bf1cbf 100644 (file)
@@ -126,9 +126,9 @@ class Contact extends BaseModule
                        }
 
                        // pull feed and consume it, which should subscribe to the hub.
-                       Worker::add(PRIORITY_HIGH, 'OnePoll', $contact_id, 'force');
+                       Worker::add(Worker::PRIORITY_HIGH, 'OnePoll', $contact_id, 'force');
                } else {
-                       Worker::add(PRIORITY_HIGH, 'UpdateContact', $contact_id);
+                       Worker::add(Worker::PRIORITY_HIGH, 'UpdateContact', $contact_id);
                }
        }