Skip to content

Commit 4adf239

Browse files
committed
Revert "Added skip option to installer"
This reverts commit bc900d0.
1 parent bc900d0 commit 4adf239

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

app/Http/Controllers/InstallerController.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,4 @@ public function options(request $request)
140140
return redirect(url(''));
141141
}
142142

143-
public function skip()
144-
{
145-
if(file_exists(base_path("INSTALLING"))){unlink(base_path("INSTALLING"));}
146-
147-
return redirect(url(''));
148-
}
149-
150143
}

resources/views/installer/installer.blade.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919
2. Setup the database<br>
2020
3. Create the admin user<br>
2121
4. Configure the app<br>
22-
</div></p>
23-
@if(!DB::table('users')->get()->isEmpty())
24-
<span>An existing installation has been detected.<br>You may skip the installation process.</span>
25-
&ensp;<a style="margin-bottom:-20px;" class="btn" href="{{url('skip')}}"><button>Skip</button></a>&ensp;
26-
@endif
22+
</div></p>
23+
<div class="row">
2724
&ensp;<a class="btn" href="{{url('?2')}}"><button>Next</button></a>&ensp;
25+
</div>
2826

2927
@endif
3028

routes/web.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
Route::post('/mysql', [InstallerController::class, 'mysql'])->name('mysql');
3939
Route::post('/options', [InstallerController::class, 'options'])->name('options');
4040
Route::get('/mysql-test', [InstallerController::class, 'mysqlTest'])->name('mysqlTest');
41-
Route::get('/skip', [InstallerController::class, 'skip'])->name('skip');
4241

4342
}else{
4443

0 commit comments

Comments
 (0)