X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Flike.php;h=69dfa5cda1bbccc41f1c2f78f3b443b9e0484c03;hb=1ff217cc1373099b0e52ba8de5ab4a1335b0f184;hp=a53b90c0398ce11f215ad1b9d660eb6fbf0c2c01;hpb=6fdc219143b83c357a65179529752553a71b44f6;p=friendica.git diff --git a/include/like.php b/include/like.php index a53b90c039..69dfa5cda1 100644 --- a/include/like.php +++ b/include/like.php @@ -1,4 +1,9 @@ ' . "\n") ; + $link = xmlify('' . "\n") ; $body = $item['body']; $obj = <<< EOT @@ -197,7 +202,7 @@ EOT; $ulink = '[url=' . $author_contact['url'] . ']' . $author_contact['name'] . '[/url]'; $alink = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]'; - $plink = '[url=' . App::get_baseurl() . '/display/' . $owner_self_contact['nick'] . '/' . $item['id'] . ']' . $post_type . '[/url]'; + $plink = '[url=' . System::baseUrl() . '/display/' . $owner_self_contact['nick'] . '/' . $item['id'] . ']' . $post_type . '[/url]'; $new_item = array( 'guid' => get_guid(32), @@ -249,7 +254,7 @@ EOT; call_hooks('post_local_end', $new_item); - proc_run(PRIORITY_HIGH, "include/notifier.php", "like", $new_item_id); + Worker::add(PRIORITY_HIGH, "notifier", "like", $new_item_id); return true; }