]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-newsletter.php
Heavily rewritten API:
[mailer.git] / inc / extensions / ext-newsletter.php
index a091688eb7af57e0d481479333e8eb7f6f407f30..75e0e32d1ed584938a37d8b23504f6aa10bc20a7 100644 (file)
@@ -145,6 +145,9 @@ case "update": // Update an extension
        }
        break;
 
+case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
+       break;
+
 default: // Do stuff when extension is loaded
        // URL ends which are used to indentify the end of an URL or email link
        // Don't use these chars in links... ;-)
@@ -164,8 +167,7 @@ default: // Do stuff when extension is loaded
                '2','3','4','5','6','7','8','9'
        );
 
-       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
-       {
+       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1)) {
                // Daily reset was run so let's check out for expired newsletter orders
                $INC_POOL[] = sprintf("%sinc/monthly/monthly_newsletter.php", PATH);
        }