mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Renemae Notification entity alias
This commit is contained in:
parent
76e5495e15
commit
7e05416da6
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ use Friendica\Core\Worker;
|
||||||
use Friendica\Database\DBA;
|
use Friendica\Database\DBA;
|
||||||
use Friendica\DI;
|
use Friendica\DI;
|
||||||
use Friendica\Factory\Api\Mastodon\Notification as NotificationFactory;
|
use Friendica\Factory\Api\Mastodon\Notification as NotificationFactory;
|
||||||
use Friendica\Navigation\Notifications\Entity\Notification as EntityNotification;
|
use Friendica\Navigation\Notifications\Entity\Notification as NotificationEntity;
|
||||||
use Friendica\Object\Api\Mastodon\Notification;
|
use Friendica\Object\Api\Mastodon\Notification;
|
||||||
use Minishlink\WebPush\VAPID;
|
use Minishlink\WebPush\VAPID;
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ class Subscription
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function pushByNotification(EntityNotification $notification)
|
public static function pushByNotification(NotificationEntity $notification)
|
||||||
{
|
{
|
||||||
$type = NotificationFactory::getType($notification);
|
$type = NotificationFactory::getType($notification);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue