Stop bids cancelling

Once i have bid on a flight if i don’t fly it , it automatically cancels and i need to bid on it again.

Is there a way to stop this?

Go into admin/maintenance.php and change this

if(Config::Get('CLOSE_BIDS_AFTER_EXPIRE') === false) {
SchedulesData::deleteExpiredBids();
CronData::set_lastupdate('check_expired_bids');
}

To this

if(Config::Get('CLOSE_BIDS_AFTER_EXPIRE') === true) {
SchedulesData::deleteExpiredBids();
CronData::set_lastupdate('check_expired_bids');
}

That should work it you’ve set the maintenance script to run.

If you want to enable it again though, place the following into your local.config.php file

# Whether to close any bids after a certain amount of time
Config::Set('CLOSE_BIDS_AFTER_EXPIRE', true);
Config::Set('BID_EXPIRE_TIME', '48'); # How many hours to hold bids for