3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 12:05:26 +00:00

Remove stray code from my commit and add a migration to fix the Settings issue the proper way.

This commit is contained in:
Daniel Meltzer
2016-05-19 21:51:31 -05:00
parent 2b1bf9f7f3
commit a6849fc689
2 changed files with 33 additions and 2 deletions

View File

@ -178,8 +178,6 @@ class SettingsController extends Controller
$settings->brand = 1;
$settings->default_currency = 'USD';
$settings->user_id = 1;
$settings->option_name = '135';
$settings->option_value = '1356';
if ((!$user->isValid('initial')) && (!$settings->isValid('initial'))) {
return redirect()->back()->withInput()->withErrors($user->getErrors())->withErrors($settings->getErrors());