Update SettingsSeeder.php

This commit is contained in:
ullbergm 2018-06-07 12:32:08 -04:00 committed by GitHub
parent 2466058c5a
commit 503cbf9830
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,18 +138,6 @@ class SettingsSeeder extends Seeder
$setting->save();
}
if(!$setting = Setting::find(6)) {
$setting = new Setting;
$setting->id = 6;
$setting->group_id = 2;
$setting->key = 'trianglify';
$setting->type = 'boolean';
$setting->label = 'app.settings.trianglify';
$setting->save();
} else {
$setting->label = 'app.settings.trianglify';
$setting->save();
}
$window_target_options = json_encode([
'current' => 'app.settings.window_target.current',