Push Messages #4 fix
This commit is contained in:
parent
b63be94d27
commit
669b873a4f
@ -33,8 +33,10 @@ class NotificationManager
|
|||||||
$notification = new Notification($serverKey);
|
$notification = new Notification($serverKey);
|
||||||
$notification->to($to);
|
$notification->to($to);
|
||||||
$notification->notification($data['title'], $data['body'], $data['icon'], '');
|
$notification->notification($data['title'], $data['body'], $data['icon'], '');
|
||||||
$notification->send();
|
$answer = $notification->send();
|
||||||
$notification = null;
|
$notification = null;
|
||||||
|
|
||||||
|
return $answer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user