Skip to content

Commit

Permalink
chore: prep for flarum/gdpr
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland authored Nov 3, 2024
1 parent 5bd5769 commit da01ed7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"color": "#fff"
},
"optional-dependencies": [
"blomstra/gdpr"
"flarum/gdpr"
]
},
"flagrow": {
Expand All @@ -67,7 +67,7 @@
},
"require-dev": {
"flarum/phpstan": "*",
"blomstra/gdpr": "@beta"
"flarum/gdpr": "dev-main"
},
"scripts": {
"analyse:phpstan": "phpstan analyse",
Expand Down
4 changes: 2 additions & 2 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace FoF\Terms;

use Blomstra\Gdpr\Extend\UserData;
use Flarum\Gdpr\Extend\UserData;
use Flarum\Api\Controller\ShowForumController;
use Flarum\Api\Serializer\BasicUserSerializer;
use Flarum\Api\Serializer\ForumSerializer;
Expand Down Expand Up @@ -90,7 +90,7 @@
->addInclude('fofTermsPolicies'),

(new Extend\Conditional())
->whenExtensionEnabled('blomstra-gdpr', fn () => [
->whenExtensionEnabled('flarum-gdpr', fn () => [
(new UserData())
->addType(Data\UserPolicyData::class),
]),
Expand Down
2 changes: 1 addition & 1 deletion resources/locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fof-terms:
user_controls:
state_button: Terms accept state

blomstra-gdpr:
flarum-gdpr:
lib:
data:
userpolicydata:
Expand Down
2 changes: 1 addition & 1 deletion src/Data/UserPolicyData.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace FoF\Terms\Data;

use Blomstra\Gdpr\Data\Type;
use Flarum\Gdpr\Data\Type;
use Carbon\Carbon;
use FoF\Terms\Policy;
use FoF\Terms\Repositories\PolicyRepository;
Expand Down

0 comments on commit da01ed7

Please sign in to comment.