mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Use public contact ID in Model\Post\UserNotification::insertNotification
- Add localRelationship dependency to Notification factory - Remove dependencies from Factory\Notification->getMessageFromNotification method
This commit is contained in:
parent
7ce97459d4
commit
deafdcde95
8 changed files with 105 additions and 70 deletions
|
@ -41,9 +41,9 @@ class Notification extends BaseRepository
|
|||
|
||||
protected static $table_name = 'notification';
|
||||
|
||||
public function __construct(Database $database, LoggerInterface $logger, Factory\Notification $factory = null)
|
||||
public function __construct(Database $database, LoggerInterface $logger, Factory\Notification $factory)
|
||||
{
|
||||
parent::__construct($database, $logger, $factory ?? new Factory\Notification($logger));
|
||||
parent::__construct($database, $logger, $factory);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue