// Shall I look for inactive accounts and autopurge inactive accounts?
if (getConfig('autopurge_inactive') == "Y") {
// Ok, let's have a look...
- $since = bigintval(getConfig('ap_inactive_since'));
+ $since = getConfig(('ap_inactive_since'));
// Init exclusion list
$EXCLUDE_LIST = "";
// Now let's have a look for inactive accounts we want to delete we newly use the same exclude list
// here for e.g. excluding holiday users
- $time = bigintval(getConfig('ap_in_time'));
+ $time = getConfig(('ap_in_time'));
$result_inactive = SQL_QUERY_ESC("SELECT d.userid, d.email, d.last_online
FROM `{!_MYSQL_PREFIX!}_user_data` AS d
WHERE `status`='CONFIRMED' AND joined < (UNIX_TIMESTAMP() - %s) AND last_online < (UNIX_TIMESTAMP() - %s) AND ap_notified < (UNIX_TIMESTAMP() - %s)