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