if ((getConfig('auto_purge_active') == "Y") && (getConfig('auto_purge') > 0)) {
// First calculate the timestamp
- if (function_exists('CREATE_TIME_SELECTIONS')) {
- $PURGE = getConfig('auto_purge');
- } else {
- $PURGE = getConfig('auto_purge') * getConfig('one_day');
- }
+ $PURGE = getConfig('auto_purge');
// Init variables
$admin_points = 0;