google-code-export / brewcompetitiononlineentry

Automatically exported from code.google.com/p/brewcompetitiononlineentry
0 stars 0 forks source link

Enhancement: Make purging of unconfirmed entries manual, rather than automatic. #439

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After discovering Issue #437, I thought about this a bit. I think the app would 
be improved by making purging unconfirmed entries require manual action to 
execute.

The UI does a great job of highlighting unconfirmed entries, but currently the 
application auto-deletes the entries if they're discovered to not have special 
ingredients and are over a day old. In the case of Issue #437, this wiped out a 
whole category of entries in a few seconds.

Could this be changed to require an admin to click a link in the application to 
"purge unconfirmed entries", then show the entries that are going to be purged? 

Original issue reported on code.google.com by ted.as...@gmail.com on 5 Sep 2014 at 4:38

GoogleCodeExporter commented 9 years ago
It's possible and quite easy to add a GUI toggle for turning on/off purges. For 
now, the simplest solution is to comment out the purge_entries function calls 
in /site/bootstrap.php to prevent them from occurring.

Original comment by gpzhumphrey on 4 Nov 2014 at 9:50