X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fhourly%2Fhourly_;h=262d6a3b21f1610b77606af38e5978d3cd7b458f;hb=e5ee863933a5062292d2467fff8a51bf9a618785;hp=9d501114ab9f248f2891968ba785bf1704398a62;hpb=940bd8cfc83aa693af8b71f7d19d54fd40fc73a3;p=mailer.git diff --git a/inc/hourly/hourly_ b/inc/hourly/hourly_ index 9d501114ab..262d6a3b21 100644 --- a/inc/hourly/hourly_ +++ b/inc/hourly/hourly_ @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -38,8 +38,8 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((isCssOutputMode()) || (isHourlyResetEnabled()) || (!isExtensionInstalledAndNewer('sql_patches', '0.7.5'))) { - // Do not execute when script is in CSS mode or no hourly reset +} elseif ((!isHtmlOutputMode()) || (isHourlyResetEnabled()) || (!isExtensionInstalledAndNewer('sql_patches', '0.7.5'))) { + // Do not execute when script is in non-HTML mode or no hourly reset return; } elseif (!isExtensionActive('')) { if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');