aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Jobs/MigrateBackgroundImages.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/lib/Jobs/MigrateBackgroundImages.php')
-rw-r--r--apps/theming/lib/Jobs/MigrateBackgroundImages.php21
1 files changed, 5 insertions, 16 deletions
diff --git a/apps/theming/lib/Jobs/MigrateBackgroundImages.php b/apps/theming/lib/Jobs/MigrateBackgroundImages.php
index 6bf1dd4e5bc..62e58f5e722 100644
--- a/apps/theming/lib/Jobs/MigrateBackgroundImages.php
+++ b/apps/theming/lib/Jobs/MigrateBackgroundImages.php
@@ -30,26 +30,15 @@ class MigrateBackgroundImages extends QueuedJob {
// will be saved in appdata/theming/global/
protected const STATE_FILE_NAME = '25_dashboard_to_theming_migration_users.json';
- private IAppDataFactory $appDataFactory;
- private IJobList $jobList;
- private IDBConnection $dbc;
- private IAppData $appData;
- private LoggerInterface $logger;
-
public function __construct(
ITimeFactory $time,
- IAppDataFactory $appDataFactory,
- IJobList $jobList,
- IDBConnection $dbc,
- IAppData $appData,
- LoggerInterface $logger,
+ private IAppDataFactory $appDataFactory,
+ private IJobList $jobList,
+ private IDBConnection $dbc,
+ private IAppData $appData,
+ private LoggerInterface $logger,
) {
parent::__construct($time);
- $this->appDataFactory = $appDataFactory;
- $this->jobList = $jobList;
- $this->dbc = $dbc;
- $this->appData = $appData;
- $this->logger = $logger;
}
protected function run(mixed $argument): void {