]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Post/Delayed.php
Merge remote-tracking branch 'upstream/develop' into share-rework
[friendica.git] / src / Model / Post / Delayed.php
index 1f15f26b972ad81d6bd1e6e078b566ea96d55188..3f96af6984bff4092ec360be0418c31ad09d435e 100644 (file)
@@ -80,7 +80,7 @@ class Delayed
 
                Logger::notice('Adding post for delayed publishing', ['uid' => $item['uid'], 'delayed' => $delayed, 'uri' => $uri]);
 
-               $wid = Worker::add(['priority' => PRIORITY_HIGH, 'delayed' => $delayed], 'DelayedPublish', $item, $notify, $taglist, $attachments, $preparation_mode, $uri);
+               $wid = Worker::add(['priority' => Worker::PRIORITY_HIGH, 'delayed' => $delayed], 'DelayedPublish', $item, $notify, $taglist, $attachments, $preparation_mode, $uri);
                if (!$wid) {
                        return 0;
                }