Remove remove_bid_after_accept setting (#1100)

* Remove "Remove bid on accept" setting and remove bids after PIREP was filed

fixes #1039

* Add migration to remove setting from database

* fix migration naming and remove obsolete code

Co-authored-by: Andreas Palm <ap@ewsp.de>
This commit is contained in:
exciler
2021-03-27 13:33:21 +01:00
committed by GitHub
parent c2b0b69eb2
commit d4c301a36c
5 changed files with 25 additions and 34 deletions

View File

@@ -169,10 +169,6 @@ class BidService extends Service
*/
public function removeBidForPirep(Pirep $pirep)
{
if (!setting('pireps.remove_bid_on_accept')) {
return;
}
$flight = $pirep->flight;
if (!$flight) {
return;