Skip to content

Commit

Permalink
feat: kirby 3.8 removed deprecated server
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Oct 15, 2022
1 parent a0a4a26 commit bfb18d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions components/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

namespace mauricerenck\Komments;

use Kirby\Http\Server;
use Kirby\Data\yaml;

return [
'tratschtante.webhook.received' => function ($webmention, $targetPage) {
if (!option('mauricerenck.komments.enable-webmention-support')) {
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"require": {
"getkirby/composer-installer": "^1.1",
"indieweb/mention-client": "^1.2",
"php": ">=7.4.0"
"php": ">=7.4.0",
"ext-json": "*"
},
"suggests": {
"mauricerenck/indieconnector": "1.2"
Expand All @@ -44,4 +45,4 @@
"npm run build"
]
}
}
}
1 change: 0 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Kirby\Toolkit\V;
use Kirby\Toolkit\F;
use Kirby\Http\Url;
use Kirby\Http\Server;
use Kirby\Data\Data;
use Kirby\Data\yaml;
use Kirby\Cms\Structure;
Expand Down
2 changes: 1 addition & 1 deletion utils/notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use in_array;
use Structure;
use f;
use Kirby\Http\Remote;


class KommentNotificationUtils
{
Expand Down

0 comments on commit bfb18d9

Please sign in to comment.