#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:
Andy Heathershaw 2017-09-29 12:54:55 +01:00
parent 1618ae64c0
commit cef1ea63cf

View File

@ -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)