File tree 2 files changed +1
-37
lines changed
2 files changed +1
-37
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -133,18 +133,7 @@ protected function exportBackend()
133
133
file_put_contents ($ baseController , $ this ->compileStub ('controllers/Controller ' ));
134
134
}
135
135
136
- if (class_exists ('Illuminate\Auth\Middleware\RedirectIfAuthenticated ' )
137
- && method_exists ('Illuminate\Auth\Middleware\RedirectIfAuthenticated ' , 'redirectUsing ' )) {
138
- $ appProvider = app_path ('Providers/AppServiceProvider.php ' );
139
-
140
- if (file_exists ($ appProvider ) && ! $ this ->option ('force ' )) {
141
- if ($ this ->components ->confirm ("The [AppServiceProvider.php] file already exists. Do you want to replace it? " )) {
142
- file_put_contents ($ appProvider , $ this ->compileStub ('providers/AppServiceProvider ' ));
143
- }
144
- } else {
145
- file_put_contents ($ appProvider , $ this ->compileStub ('providers/AppServiceProvider ' ));
146
- }
147
- } else {
136
+ if (! file_exists (database_path ('migrations/0001_01_01_000000_create_users_table.php ' ))) {
148
137
copy (
149
138
__DIR__ .'/../stubs/migrations/2014_10_12_100000_create_password_resets_table.php ' ,
150
139
base_path ('database/migrations/2014_10_12_100000_create_password_resets_table.php ' )
You can’t perform that action at this time.
0 commit comments