X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=a531d40936a82b918d1f179c5174dd1e01edf37d;hb=1d5206d594a76297f36ecbaa85ac1ef46ba57c1d;hp=bfb865b790553d3ee293acfc40f117a4beba0652;hpb=caa1a5aeacaf617c2f852b45e2ed891dd8be358c;p=friendica.git diff --git a/mod/item.php b/mod/item.php index bfb865b790..a531d40936 100644 --- a/mod/item.php +++ b/mod/item.php @@ -1,6 +1,6 @@ createFromArray([ 'type' => Notification\Type::COMMENT, 'otype' => Notification\ObjectType::ITEM, 'verb' => Activity::POST, @@ -787,7 +788,7 @@ function item_post(App $a) { 'link' => DI::baseUrl() . '/display/' . urlencode($datarray['guid']), ]); } elseif (empty($forum_contact)) { - notification([ + DI::notify()->createFromArray([ 'type' => Notification\Type::WALL, 'otype' => Notification\ObjectType::ITEM, 'verb' => Activity::POST,