#49: Corrected instances of undocumented method set() which has now been removed in Laravel 5.4 in favour if put()
This commit is contained in:
parent
1618ae64c0
commit
cef1ea63cf
@ -55,7 +55,7 @@ class InstallController extends Controller
|
||||
|
||||
if ($request->getMethod() == 'POST')
|
||||
{
|
||||
$request->session()->set('install_stage', 2);
|
||||
$request->session()->put('install_stage', 2);
|
||||
return redirect(route('install.database'));
|
||||
}
|
||||
|
||||
@ -156,7 +156,7 @@ class InstallController extends Controller
|
||||
$versionNumber->value = config('app.version');
|
||||
$versionNumber->save();
|
||||
|
||||
$request->session()->set('install_stage', 3);
|
||||
$request->session()->put('install_stage', 3);
|
||||
return redirect(route('install.administrator'));
|
||||
}
|
||||
catch (\Exception $ex)
|
||||
|
Loading…
Reference in New Issue
Block a user