ARV187 Posted March 8, 2014 Report Share Posted March 8, 2014 This monts aleatory the airline pilots are reciving a email with this topic: SITE_NAME: You've been marked as retired†Why is phpvms sending emails to active pilots? Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted March 8, 2014 Moderators Report Share Posted March 8, 2014 Probably you must have set the auto pilot retirement to true. Go to you local.config.php file, find this: Config::Set('PILOT_AUTO_RETIRE', true); and replace it with this: Config::Set('PILOT_AUTO_RETIRE', false); Quote Link to comment Share on other sites More sharing options...
ARV187 Posted March 8, 2014 Author Report Share Posted March 8, 2014 Yes, but is set in 90 days to autoretire, system is sending emails to active pilots, is illogical, how last resource i will put the value in false. Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted January 23, 2017 Moderators Report Share Posted January 23, 2017 Sorry, for bringing up an old thread but is there any answer to this? I'm having the same issue with the system sending these out to active pilots. I have Config::Set('PILOT_AUTO_RETIRE', false); But it still sends it out to active pilots (and doesn't mark them as retired). It's just annoying as I have had a few of our pilots worry when they receive this email. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted January 23, 2017 Moderators Report Share Posted January 23, 2017 Go to your admin/maintenance.php and let us know what you have on line #40? The should be something like this: if(Config::Get('PILOT_AUTO_RETIRE') == true) { /* Find any retired pilots and set them to retired */ PilotData::findRetiredPilots(); CronData::set_lastupdate('find_retired_pilots'); } Does it exist? Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted January 23, 2017 Moderators Report Share Posted January 23, 2017 Yes, I have the following: if(Config::Get('PILOT_AUTO_RETIRE') == true) { /* Find any retired pilots and set them to retired */ PilotData::findRetiredPilots(); CronData::set_lastupdate('find_retired_pilots'); } Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted January 24, 2017 Moderators Report Share Posted January 24, 2017 Where have you this set? Config::Set('PILOT_AUTO_RETIRE', false); Is it inside your local.config.php or app.config.php? Could you please check both files? Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted January 24, 2017 Moderators Report Share Posted January 24, 2017 3 hours ago, servetas said: Where have you this set? Config::Set('PILOT_AUTO_RETIRE', false); Is it inside your local.config.php or app.config.php? Could you please check both files? Hey servetas, I have it set to false in both the local and app config files. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.