]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/FriendSuggest.php
The priority is now a class constant
[friendica.git] / src / Module / FriendSuggest.php
index 3cebd72cea580a01607e00fb199c200b21a281a2..d8a42d8de9f1da127bf07adc37adcd8f34bb5e18 100644 (file)
@@ -94,7 +94,7 @@ class FriendSuggest extends BaseModule
                        $note
                ));
 
-               Worker::add(PRIORITY_HIGH, 'Notifier', Delivery::SUGGESTION, $suggest->id);
+               Worker::add(Worker::PRIORITY_HIGH, 'Notifier', Delivery::SUGGESTION, $suggest->id);
 
                info($this->t('Friend suggestion sent.'));
        }