A lot calls saved, expression language rewritten:
[mailer.git] / inc / autopurge / purge-unconfirmed.php
index c8f587e3e42d4f2ed63d67688b70f360320faef7..8b94274b75729e405f02e013272ad48cdb8993e9 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