Ticket resolved, code rewrites and caching:
[mailer.git] / inc / autopurge / purge-mails.php
index d1aeb1d3de36f150d9e72413f72c97567e9a9241..7d5de277833197ad8e314faefe9cc544925a7799 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