X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Ftask_functions.php;h=09c7788bae890a4ae04d4fe3e01a05ea7fc33540;hb=30ae22f62ae87c53a56baf0d134569ba91011111;hp=dfdd7f2a88c2b064a91b8e4af67485fac13d2ec7;hpb=cf3765c38cf0a76f396aca291f71858936e92956;p=mailer.git diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php index dfdd7f2a88..09c7788bae 100644 --- a/inc/libs/task_functions.php +++ b/inc/libs/task_functions.php @@ -336,7 +336,7 @@ ORDER BY // Autopurge installed? $lastOnline = ''; - if ((isExtensionActive('autopurge')) && (getConfig('autopurge_inactive') == 'Y') && (getConfig('ap_inactive_since') > 0)) { + if ((isExtensionActive('autopurge')) && (getConfig('autopurge_inactive') == 'Y') && (getApInactiveSince() > 0)) { // Use last online timestamp to keep inactive members away from here $lastOnline = ' AND `last_online` >= (UNIX_TIMESTAMP() - {?ap_inactive_since?})'; } // END - if @@ -360,7 +360,7 @@ ORDER BY // Autopurge installed? $lastOnline = ''; - if ((isExtensionActive('autopurge')) && (getConfig('autopurge_inactive') == 'Y') && (getConfig('ap_inactive_since') > 0)) { + if ((isExtensionActive('autopurge')) && (getConfig('autopurge_inactive') == 'Y') && (getApInactiveSince() > 0)) { // Use last online timestamp to keep inactive members away from here $lastOnline = ' AND `last_online` >= (UNIX_TIMESTAMP() - {?ap_inactive_since?})'; } // END - if