File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ public function init(
120120 $ pull [\ILIAS \UI \Implementation \Component \Progress \Factory::class],
121121 $ pull [\ILIAS \UI \Implementation \Component \Progress \State \Factory::class],
122122 $ pull [\ILIAS \UI \Implementation \Component \Progress \State \Bar \Factory::class],
123+ $ pull [\ILIAS \Cron \Registry::class],
123124 );
124125 }
125126}
Original file line number Diff line number Diff line change @@ -762,12 +762,14 @@ protected static function initCron(\ILIAS\DI\Container $c): void
762762 {
763763 $ c ['cron.repository ' ] = static function (\ILIAS \DI \Container $ c ): ilCronJobRepository {
764764 return new ilCronJobRepositoryImpl (
765+ $ c ['cron.registry ' ],
765766 $ c ->database (),
766767 $ c ->settings (),
767768 $ c ->logger ()->cron (),
768769 $ c ['component.repository ' ],
769770 $ c ['component.factory ' ],
770- $ c ['lng ' ]
771+ $ c ['lng ' ],
772+ $ c ['ilLoggerFactory ' ]
771773 );
772774 };
773775
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ public function __construct(
9191 protected \ILIAS \UI \Implementation \Component \Progress \Factory $ ui_progress_factory ,
9292 protected \ILIAS \UI \Implementation \Component \Progress \State \Factory $ ui_progress_state_factory ,
9393 protected \ILIAS \UI \Implementation \Component \Progress \State \Bar \Factory $ ui_progress_state_bar_factory ,
94+ protected \ILIAS \Cron \Registry $ cron_registry ,
9495 ) {
9596 }
9697
@@ -165,6 +166,8 @@ protected function populateComponentsInLegacyEnvironment(\Pimple\Container $DIC)
165166 $ DIC ['ui.factory.input.field ' ] = fn () => $ this ->ui_factory_input_field ;
166167 $ DIC ['ui.factory ' ] = fn () => $ this ->ui_factory ;
167168 $ DIC ['ui.renderer ' ] = fn () => $ this ->ui_renderer ;
169+
170+ $ DIC ['cron.registry ' ] = fn () => $ this ->cron_registry ;
168171 }
169172
170173 public function getName (): string
You can’t perform that action at this time.
0 commit comments