mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-12-04 19:16:13 +01:00
Allow to execute update wizard within web ui (#108)
The wizard will use makeInstance() instead of DI. The DI worked on CLI, but not web ui. This approach now also works within web ui.
This commit is contained in:
parent
2bf18536cc
commit
4cb2b9ad80
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue