X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Ftask_functions.php;h=09c7788bae890a4ae04d4fe3e01a05ea7fc33540;hp=dfdd7f2a88c2b064a91b8e4af67485fac13d2ec7;hb=ffe213c8e3f85119ddd5544214d0de9ecb833d98;hpb=0b0ad98572a523c99f9a7843edfc0feeca4b2a10 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