mirror of
https://github.com/friendica/friendica
synced 2025-04-23 02:30:20 +00:00
Replace "notification" call with new function, removing enotify.php
This commit is contained in:
parent
4422be9cea
commit
2f1f6f6fb2
7 changed files with 7 additions and 46 deletions
|
@ -1371,7 +1371,7 @@ class DFRN
|
|||
'note' => $suggest['body'], 'hash' => $hash, 'datetime' => DateTimeFormat::utcNow(), 'blocked' => false];
|
||||
DBA::insert('intro', $fields);
|
||||
|
||||
notification([
|
||||
DI::notify()->createFromArray([
|
||||
'type' => Notification\Type::SUGGEST,
|
||||
'otype' => Notification\ObjectType::INTRO,
|
||||
'verb' => Activity::REQ_FRIEND,
|
||||
|
@ -1576,7 +1576,7 @@ class DFRN
|
|||
$item['parent'] = $parent['id'];
|
||||
|
||||
// send a notification
|
||||
notification(
|
||||
DI::notify()->createFromArray(
|
||||
[
|
||||
"type" => Notification\Type::POKE,
|
||||
"otype" => Notification\ObjectType::PERSON,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue