]> git.mxchange.org Git - mailer.git/blobdiff - inc/autopurge/purge-tsks.php
A lot calls saved, expression language rewritten:
[mailer.git] / inc / autopurge / purge-tsks.php
index 3e1c97b4a84d9121c3afbfb4bee3a9db7d3edd61..d7e899d0b69fc866de5c2f7b11522a47b59d5eaa 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 } // 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