removed tabs

added setting
corrected code
This commit is contained in:
lordwilbur
2018-05-19 02:03:06 +02:00
parent 0d53c5487d
commit 650d9884b0
3 changed files with 27 additions and 15 deletions

View File

@@ -276,6 +276,14 @@ class CreateSettingsTable extends Migration
'type' => 'boolean',
'description' => 'Don\'t show inactive pilots in the public view',
]);
$this->addSetting('pilots.restrict_to_company', [
'name' => 'Restrict the flights to company',
'group' => 'pilots',
'value' => false,
'type' => 'boolean',
'description' => 'Restrict flights to the user\'s airline',
]);
}
/**