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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user