@@ -54,13 +54,13 @@ public function up(Schema $schema): void
54
54
if (is_numeric ($ key ) && \is_array ($ config )) {
55
55
// Handle configurations specific to URL IDs
56
56
$ 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 ,
64
64
];
65
65
}
66
66
}
0 commit comments