Skip to content

Commit b0a3eb5

Browse files
committed
Migration: #fix structure of data to correspond to what is used after and avoid error - refs BT#22425
1 parent 5527450 commit b0a3eb5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/CoreBundle/Migrations/Schema/V200/Version20240806120000.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ public function up(Schema $schema): void
5454
if (is_numeric($key) && \is_array($config)) {
5555
// Handle configurations specific to URL IDs
5656
$hostingLimits['settings_overrides'][$key]['hosting_limit'] = [
57-
['users' => $config['hosting_limit_users'] ?? 0],
58-
['teachers' => $config['hosting_limit_teachers'] ?? 0],
59-
['courses' => $config['hosting_limit_courses'] ?? 0],
60-
['sessions' => $config['hosting_limit_sessions'] ?? 0],
61-
['disk_space' => $config['hosting_limit_disk_space'] ?? 0],
62-
['active_courses' => $config['hosting_limit_active_courses'] ?? 0],
63-
['total_size' => $_configuration['hosting_total_size_limit'] ?? 0],
57+
'users' => $config['hosting_limit_users'] ?? 0,
58+
'teachers' => $config['hosting_limit_teachers'] ?? 0,
59+
'courses' => $config['hosting_limit_courses'] ?? 0,
60+
'sessions' => $config['hosting_limit_sessions'] ?? 0,
61+
'disk_space' => $config['hosting_limit_disk_space'] ?? 0,
62+
'active_courses' => $config['hosting_limit_active_courses'] ?? 0,
63+
'total_size' => $_configuration['hosting_total_size_limit'] ?? 0,
6464
];
6565
}
6666
}

0 commit comments

Comments
 (0)