]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-newsletter.php
Tasks are now registered again
[mailer.git] / inc / extensions / ext-newsletter.php
index d1cfa7c924df1addd0b28e1ecc757b095d92d1f3..ac8d48eb418b985a147fb003ec02948e515f5de8 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Erweiterung zum Versenden von Newslettern        *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -142,6 +147,9 @@ case "update": // Update an extension
        }
        break;
 
+case "modify": // When the extension got modified
+       break;
+
 case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
        break;
 
@@ -164,7 +172,7 @@ default: // Do stuff when extension is loaded
                '2','3','4','5','6','7','8','9'
        );
 
-       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($GLOBALS['output_mode'] != 1)) {
+       if (isResetModeEnabled() && (!isDebugModeEnabled()) && ($GLOBALS['output_mode'] != 1)) {
                // Daily reset was run so let's check out for expired newsletter orders
                $INC_POOL[] = sprintf("%sinc/monthly/monthly_newsletter.php", constant('PATH'));
        }