File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ public function init(
112112 $ pull [\ILIAS \UI \Implementation \Component \Progress \Factory::class],
113113 $ pull [\ILIAS \UI \Implementation \Component \Progress \State \Factory::class],
114114 $ pull [\ILIAS \UI \Implementation \Component \Progress \State \Bar \Factory::class],
115+ $ pull [\ILIAS \Cron \Registry::class],
115116 );
116117 }
117118}
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 @@ -83,6 +83,7 @@ public function __construct(
8383 protected \ILIAS \UI \Component \Progress \Factory $ ui_progress_factory ,
8484 protected \ILIAS \UI \Component \Progress \State \Factory $ ui_progress_state_factory ,
8585 protected \ILIAS \UI \Component \Progress \State \Bar \Factory $ ui_progress_state_bar_factory ,
86+ protected \ILIAS \Cron \Registry $ cron_registry ,
8687 ) {
8788 }
8889
@@ -149,6 +150,8 @@ protected function populateComponentsInLegacyEnvironment(\Pimple\Container $DIC)
149150 $ DIC ['ui.factory.input.field ' ] = fn () => $ this ->ui_factory_input_field ;
150151 $ DIC ['ui.factory ' ] = fn () => $ this ->ui_factory ;
151152 $ DIC ['ui.renderer ' ] = fn () => $ this ->ui_renderer ;
153+
154+ $ DIC ['cron.registry ' ] = fn () => $ this ->cron_registry ;
152155 }
153156
154157 public function getName (): string
You can’t perform that action at this time.
0 commit comments