Skip to content

Commit bfb18d9

Browse files
committed
feat: kirby 3.8 removed deprecated server
1 parent a0a4a26 commit bfb18d9

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

components/hooks.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
namespace mauricerenck\Komments;
44

5-
use Kirby\Http\Server;
6-
use Kirby\Data\yaml;
7-
85
return [
96
'tratschtante.webhook.received' => function ($webmention, $targetPage) {
107
if (!option('mauricerenck.komments.enable-webmention-support')) {

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"require": {
2727
"getkirby/composer-installer": "^1.1",
2828
"indieweb/mention-client": "^1.2",
29-
"php": ">=7.4.0"
29+
"php": ">=7.4.0",
30+
"ext-json": "*"
3031
},
3132
"suggests": {
3233
"mauricerenck/indieconnector": "1.2"
@@ -44,4 +45,4 @@
4445
"npm run build"
4546
]
4647
}
47-
}
48+
}

index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Kirby\Toolkit\V;
99
use Kirby\Toolkit\F;
1010
use Kirby\Http\Url;
11-
use Kirby\Http\Server;
1211
use Kirby\Data\Data;
1312
use Kirby\Data\yaml;
1413
use Kirby\Cms\Structure;

utils/notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use in_array;
88
use Structure;
99
use f;
10-
use Kirby\Http\Remote;
10+
1111

1212
class KommentNotificationUtils
1313
{

0 commit comments

Comments
 (0)