diff --git a/composer.json b/composer.json index aa3f4dc..5691d4f 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "flarum/flags", "flarum/tags", "flarum/approval", - "blomstra/gdpr" + "flarum/gdpr" ] }, "flagrow": { @@ -91,6 +91,6 @@ "require-dev": { "flarum/testing": "^1.0.0", "flarum/phpstan": "*", - "blomstra/gdpr": "@beta" + "flarum/gdpr": "dev-main" } } diff --git a/extend.php b/extend.php index cb983fa..d3f1894 100644 --- a/extend.php +++ b/extend.php @@ -11,7 +11,7 @@ namespace FoF\BanIPs; -use Blomstra\Gdpr\Extend\UserData; +use Flarum\Gdpr\Extend\UserData; use Flarum\Api\Controller; use Flarum\Api\Serializer; use Flarum\Api\Serializer\AbstractSerializer; @@ -111,7 +111,7 @@ ->addFilter(Search\NxGambit::class), (new Extend\Conditional()) - ->whenExtensionEnabled('blomstra-gdpr', fn () => [ + ->whenExtensionEnabled('flarum-gdpr', fn () => [ (new UserData()) ->addType(Data\BannedIPData::class), ]), diff --git a/resources/locale/en.yml b/resources/locale/en.yml index 873163c..8263fb4 100644 --- a/resources/locale/en.yml +++ b/resources/locale/en.yml @@ -75,7 +75,7 @@ fof-ban-ips: address_label: IP Address reason_label: Reason -blomstra-gdpr: +flarum-gdpr: lib: data: bannedipdata: diff --git a/src/Data/BannedIPData.php b/src/Data/BannedIPData.php index 4f41e47..66e7c78 100644 --- a/src/Data/BannedIPData.php +++ b/src/Data/BannedIPData.php @@ -11,7 +11,7 @@ namespace FoF\BanIPs\Data; -use Blomstra\Gdpr\Data\Type; +use Flarum\Gdpr\Data\Type; use FoF\BanIPs\BannedIP; use Illuminate\Support\Arr;