Remove unecessary db install flag delete call

This commit is contained in:
gdarko
2024-02-11 20:07:59 +01:00
parent 29ed7f437a
commit e0176139c2

View File

@@ -17,10 +17,6 @@ class InstallationMiddleware
public function handle($request, Closure $next)
{
if (! InstallUtils::isDbCreated() || Setting::getSetting('profile_complete') !== 'COMPLETED') {
if (InstallUtils::dbMarkerExists()) {
InstallUtils::deleteDbMarker();
}
return redirect('/installation');
}