File tree Expand file tree Collapse file tree 3 files changed +8
-18
lines changed
app/Modules/Fof/ArchiveModule Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Original file line number Diff line number Diff line change 1010
1111
1212class ErasmusPresenter extends BasePresenter
13- {
14-
13+ {
1514 /**
1615 * @throws BadRequestException
1716 * @throws \Throwable
1817 */
1918
20- public function startup (): void
19+ public function startUp (): void
2120 {
22- parent ::startup ();
21+ parent ::startUp ();
2322
2423 // Check if it is the correct event year, otherwise throw 404
2524 if ($ this ->eventYear !== '2022 ' ) {
2625 throw new BadRequestException ('Event not found ' , IResponse::S404_NOT_FOUND );
2726 }
2827 }
29-
28+
3029 protected function createComponentGallery (): ImageGalleryControl
3130 {
3231 return new ImageGalleryControl ($ this ->context );
Original file line number Diff line number Diff line change 77use Nette \Application \BadRequestException ;
88use Nette \Http \IResponse ;
99
10-
11-
12- use Fykosak \NetteFKSDBDownloader \ORM \Services \ServiceEventDetail ;
13-
1410class SchedulePresenter extends BasePresenter
15- {
16-
11+ {
12+
1713 /**
1814 * @throws BadRequestException
1915 * @throws \Throwable
2016 */
2117
22- public function startup (): void
18+ public function startUp (): void
2319 {
24- parent ::startup ();
20+ parent ::startUp ();
2521
2622 // Check if it is the correct event year, otherwise throw 404
2723 if ($ this ->eventYear !== '2023 ' ) {
2824 throw new BadRequestException ('Event not found ' , IResponse::S404_NOT_FOUND );
2925 }
3026 }
31-
3227}
Original file line number Diff line number Diff line change @@ -54,9 +54,5 @@ public static function boot(string $moduleName): Configurator
5454/* @phpstan-ignore-next-line */
5555$ configurator = Bootstrap::boot (MODULE_NAME );
5656$ container = $ configurator ->createContainer ();
57-
58- /* Always acquire locks in the order as below! */
59- const LOCK_DB = __DIR__ . '/tmp/database.lock ' ;
60- const LOCK_UPLOAD = __DIR__ . '/tmp/upload.lock ' ;
6157return $ container ;
6258// phpcs:enable
You can’t perform that action at this time.
0 commit comments