diff --git a/Classes/Updates/BackendModuleUserPermission.php b/Classes/Updates/BackendModuleUserPermission.php index 17962a0..e4cfca2 100644 --- a/Classes/Updates/BackendModuleUserPermission.php +++ b/Classes/Updates/BackendModuleUserPermission.php @@ -35,10 +35,9 @@ class BackendModuleUserPermission implements UpgradeWizardInterface */ private $connectionPool; - public function __construct( - ConnectionPool $connectionPool - ) { - $this->connectionPool = $connectionPool; + public function __construct() + { + $this->connectionPool = GeneralUtility::makeInstance(ConnectionPool::class); } public function getIdentifier(): string