X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_newsletter.php;h=462d6a65bbe249ecd6764506ff17f5b2a9c42652;hb=12effdb00f104773905152bfb2950496c2efaec4;hp=6527461b32c3a19481a1ee606cade8705b7bb341;hpb=e3d74cb597fb3df15c513377856bbec373e0cb18;p=mailer.git diff --git a/inc/monthly/monthly_newsletter.php b/inc/monthly/monthly_newsletter.php index 6527461b32..462d6a65bb 100644 --- a/inc/monthly/monthly_newsletter.php +++ b/inc/monthly/monthly_newsletter.php @@ -14,11 +14,9 @@ * $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 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -40,13 +38,19 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((getOutputMode() == 1) || (!isResetModeEnabled())) { - // Do not execute when script is in CSS mode or no daily reset +} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) { + // Do not execute when script is in CSS mode or no hourly reset return; } elseif (!isExtensionActive('newsletter')) { logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); return; } +// Debug line +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started.'); + +// Debug line +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended.'); + // [EOF] ?>