Skip to content

Commit d2c7453

Browse files
committed
refactor: remove google cloud messaging
1 parent 7602f41 commit d2c7453

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

config/webpush.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,4 @@
4141
*/
4242
'automatic_padding' => env('WEBPUSH_AUTOMATIC_PADDING', true),
4343

44-
/**
45-
* Google Cloud Messaging.
46-
*
47-
* @deprecated
48-
*/
49-
'gcm' => [
50-
'key' => env('GCM_KEY'),
51-
'sender_id' => env('GCM_SENDER_ID'),
52-
],
53-
5444
];

src/WebPushServiceProvider.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ protected function webPushAuth(): array
5454
$publicKey = $webpush['vapid']['public_key'];
5555
$privateKey = $webpush['vapid']['private_key'];
5656

57-
if (! empty($webpush['gcm']['key'])) {
58-
$config['GCM'] = $webpush['gcm']['key'];
59-
}
60-
6157
if (empty($publicKey) || empty($privateKey)) {
6258
return $config;
6359
}

0 commit comments

Comments
 (0)