Jump to content

Stop bids cancelling


mattsmith

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...