Ticket resolved, code rewrites and caching:
[mailer.git] / inc / autopurge / purge-inact.php
index bcf5a92470a930da4e9f3e126de39dbd898b230c..c015fc56da5270b421f1c53874267cd7efc18008 100644 (file)
@@ -38,7 +38,7 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Abort if autopurge is not active or disabled by admin
-if ((!EXT_IS_ACTIVE("autopurge")) || (getConfig('auto_purge_active') == "N")) {
+if ((!EXT_IS_ACTIVE("autopurge")) || (getConfig('auto_purge_active') != "Y")) {
        // Abort here
        return false;
 } // END - if