Skip to content

Commit 8f3c3a6

Browse files
chore!: remove Kirby 3 support
1 parent 6abd6f8 commit 8f3c3a6

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ Detailed instructions on how to use these features can be found in the [usage](#
3939
4040
## Requirements
4141

42-
- Kirby 3 or
4342
- Kirby 4
4443

4544
Kirby is not a free software. You can try it for free on your local machine but in order to run Kirby on a public server you must purchase a [valid license](https://getkirby.com/buy).

index.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
'JohannSchopplich\\Headless\\Api\\Middlewares' => 'src/classes/Api/Middlewares.php'
99
], __DIR__);
1010

11-
// Add backwards compatibility for Kirby 3
12-
if (!class_exists(\Kirby\Content\Field::class)) {
13-
class_alias(\Kirby\Cms\Field::class, \Kirby\Content\Field::class);
14-
}
15-
1611
App::plugin('johannschopplich/headless', [
1712
'hooks' => [
1813
// Explicitly register catch-all routes only when Kirby and all plugins

0 commit comments

Comments
 (0)