Skip to content

Commit

Permalink
[BUGFIX] Remove outdated constructor arguments in PublishIntemProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
tinzog committed Nov 2, 2023
1 parent 6712165 commit 39caefe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class PublishItemProvider extends AbstractProvider
];
protected PermissionService $permissionService;

public function __construct(string $table, string $identifier, string $context = '')
public function __construct()
{
parent::__construct($table, $identifier, $context);
parent::__construct();
// Sorry, no DI available for Context Menu Item Provider
$this->permissionService = GeneralUtility::makeInstance(PermissionService::class);
}
Expand Down

0 comments on commit 39caefe

Please sign in to comment.