} // END - if
// Abort if autopurge is not active or disabled by admin
-if ((!isExtensionActive('autopurge')) || (getConfig('auto_purge_active') != 'Y')) {
+if ((!isExtensionActive('autopurge')) || (!isAutoPurgingActive())) {
// Abort here
return false;
} // END - if
ORDER BY
d.userid ASC",
array(
- getConfig('ap_inactive_since'),
- getConfig('ap_inactive_since'),
- getConfig('ap_inactive_since')
+ getApInactiveSince(),
+ getApInactiveSince(),
+ getApInactiveSince()
), __FILE__, __LINE__);
if (SQL_NUMROWS($result_inactive) > 0) {
// Prepare variables and constants...
$useridsContent = '';
- $content['since'] = (getConfig('ap_inactive_since') / 60 / 60);
+ $content['since'] = (getApInactiveSince() / 60 / 60);
$content['time'] = (getConfig('ap_inactive_time') / 60 / 60);
// Mark found accounts as inactive and send an email