@@ -196,26 +196,6 @@ public static function configureAndPrepareSystem(): array
196
196
return $ resultData ;
197
197
}
198
198
199
- InstallerLogger::addLogEntry ("Started clearing cache " );
200
- {
201
- $ isCacheCleared = ShellBinConsoleService::clearCache ();
202
- $ resultData [self ::CONFIGURE_PREPARE_CLEAR_CACHE ] = $ isCacheCleared ;
203
- }
204
- InstallerLogger::addLogEntry ("Finished clearing cache " , ["status " => $ isCacheCleared ]);
205
- if (!$ isCacheCleared ){
206
- return $ resultData ;
207
- }
208
-
209
- InstallerLogger::addLogEntry ("Started building cache " );
210
- {
211
- $ isCacheBuilt = ShellBinConsoleService::buildCache ();
212
- $ resultData [self ::CONFIGURE_PREPARE_BUILD_CACHE ] = $ isCacheBuilt ;
213
- }
214
- InstallerLogger::addLogEntry ("Finished building cache " , ["status " => $ isCacheBuilt ]);
215
- if (!$ isCacheBuilt ){
216
- return $ resultData ;
217
- }
218
-
219
199
InstallerLogger::addLogEntry ("Started generating encryption key " );
220
200
{
221
201
$ generatedEncryptionKey = ShellBinConsoleService::generateEncryptionKey ();
@@ -236,6 +216,26 @@ public static function configureAndPrepareSystem(): array
236
216
return $ resultData ;
237
217
}
238
218
219
+ InstallerLogger::addLogEntry ("Started clearing cache " );
220
+ {
221
+ $ isCacheCleared = ShellBinConsoleService::clearCache ();
222
+ $ resultData [self ::CONFIGURE_PREPARE_CLEAR_CACHE ] = $ isCacheCleared ;
223
+ }
224
+ InstallerLogger::addLogEntry ("Finished clearing cache " , ["status " => $ isCacheCleared ]);
225
+ if (!$ isCacheCleared ){
226
+ return $ resultData ;
227
+ }
228
+
229
+ InstallerLogger::addLogEntry ("Started building cache " );
230
+ {
231
+ $ isCacheBuilt = ShellBinConsoleService::buildCache ();
232
+ $ resultData [self ::CONFIGURE_PREPARE_BUILD_CACHE ] = $ isCacheBuilt ;
233
+ }
234
+ InstallerLogger::addLogEntry ("Finished building cache " , ["status " => $ isCacheBuilt ]);
235
+ if (!$ isCacheBuilt ){
236
+ return $ resultData ;
237
+ }
238
+
239
239
InstallerLogger::addLogEntry ("Now marking installation as finished " );
240
240
{
241
241
self ::setEnvKeyAppIsInstalled ();
0 commit comments