]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_newsletter.php
Further fixes for all resets
[mailer.git] / inc / monthly / monthly_newsletter.php
index 2697b4ded8baa252a37afde92c96893237e0de1d..e8864761dae4ff767b5ca35a0b38a78643ab439e 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) {
-       // Do not execute when script is in CSS mode or no hourly reset
+} elseif ((!isHtmlOutputMode()) || (!isMonthlyResetEnabled())) {
+       // Do not execute when script is in non-HTML mode or no hourly reset
        return;
-} elseif ((!isExtensionActive('newsletter')) && (isDebugModeEnabled())) {
+} elseif (!isExtensionActive('newsletter')) {
        logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-newsletter disabled.');
        return;
 }